removed f strings
This commit is contained in:
@@ -741,10 +741,10 @@ class RotaryHandler(bbctrl.APIHandler):
|
|||||||
config.reload()
|
config.reload()
|
||||||
|
|
||||||
# Debug: Log the current state values for motor 2 to verify they're being set
|
# Debug: Log the current state values for motor 2 to verify they're being set
|
||||||
log.info(f"DEBUG: After reload - Motor 2 state values:")
|
log.info("DEBUG: After reload - Motor 2 state values:")
|
||||||
log.info(f" 2sa (step-angle): {ctrl.state.get('2sa')}")
|
log.info(" 2sa (step-angle): {}".format(ctrl.state.get('2sa')))
|
||||||
log.info(f" 2mi (microsteps): {ctrl.state.get('2mi')}")
|
log.info(" 2mi (microsteps): {}".format(ctrl.state.get('2mi')))
|
||||||
log.info(f" 2tr (travel-per-rev): {ctrl.state.get('2tr')}")
|
log.info(" 2tr (travel-per-rev): {}".format(ctrl.state.get('2tr')))
|
||||||
|
|
||||||
# TARGETED FIX: Explicitly ensure microsteps gets sent to state
|
# TARGETED FIX: Explicitly ensure microsteps gets sent to state
|
||||||
# This addresses potential issues with microsteps being treated as machine variable
|
# This addresses potential issues with microsteps being treated as machine variable
|
||||||
|
|||||||
Reference in New Issue
Block a user