From de38ef4290225a3178c3fb8bd31b2b100340db9f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 1 Oct 2021 19:09:37 -0400 Subject: kinematics: Convert to Python3 string encoding Signed-off-by: Kevin O'Connor --- klippy/extras/force_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/force_move.py') diff --git a/klippy/extras/force_move.py b/klippy/extras/force_move.py index d57e60b1..3c05843b 100644 --- a/klippy/extras/force_move.py +++ b/klippy/extras/force_move.py @@ -38,7 +38,7 @@ class ForceMove: self.trapq_append = ffi_lib.trapq_append self.trapq_finalize_moves = ffi_lib.trapq_finalize_moves self.stepper_kinematics = ffi_main.gc( - ffi_lib.cartesian_stepper_alloc('x'), ffi_lib.free) + ffi_lib.cartesian_stepper_alloc(b'x'), ffi_lib.free) # Register commands gcode = self.printer.lookup_object('gcode') gcode.register_command('STEPPER_BUZZ', self.cmd_STEPPER_BUZZ, -- cgit v1.2.3-70-g09d2