From d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 13 Jan 2020 21:30:32 -0500 Subject: itersolve: Add ability to query the active_flags state Signed-off-by: Kevin O'Connor --- klippy/stepper.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'klippy/stepper.py') diff --git a/klippy/stepper.py b/klippy/stepper.py index cf7effd7..d4fe63ba 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -165,6 +165,9 @@ class MCU_stepper: flush_time) if ret: raise error("Internal error in stepcompress") + def is_active_axis(self, axis): + return self._ffi_lib.itersolve_is_active_axis( + self._stepper_kinematics, axis) # Helper code to build a stepper object from a config section def PrinterStepper(config, units_in_radians=False): -- cgit v1.2.3-70-g09d2