mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
kinematics: Convert to Python3 string encoding
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -191,7 +191,8 @@ class MCU_stepper:
|
||||
raise error("Internal error in stepcompress")
|
||||
def is_active_axis(self, axis):
|
||||
ffi_main, ffi_lib = chelper.get_ffi()
|
||||
return ffi_lib.itersolve_is_active_axis(self._stepper_kinematics, axis)
|
||||
a = axis.encode()
|
||||
return ffi_lib.itersolve_is_active_axis(self._stepper_kinematics, a)
|
||||
|
||||
# Helper code to build a stepper object from a config section
|
||||
def PrinterStepper(config, units_in_radians=False):
|
||||
|
||||
Reference in New Issue
Block a user