Skip to content

Commit

Permalink
Adding comment for trsync
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjon711 committed Dec 5, 2024
1 parent d8717bf commit c777a49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extras/AFC.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def _update_trsync(self, config):
trsync_value = config.getfloat("trsync_timeout", 0.05)
trsync_single_value = config.getfloat("trsync_single_timeout", 0.5)

# Making sure value exists as danker klipper does not have TRSYNC_TIMEOUT value
if( hasattr(mcu, "TRSYNC_TIMEOUT")): mcu.TRSYNC_TIMEOUT = max(mcu.TRSYNC_TIMEOUT, trsync_value)
else : self.gcode.respond_info("TRSYNC_TIMEOUT does not exist in mcu file, not updating")

Expand Down

0 comments on commit c777a49

Please sign in to comment.