aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepper.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r--klippy/stepper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py
index d187a69f..ec757763 100644
--- a/klippy/stepper.py
+++ b/klippy/stepper.py
@@ -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):