diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-01-13 21:30:32 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-01-23 20:47:01 -0500 |
commit | d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2 (patch) | |
tree | a76dec0c4be0c0b598a534452cf295ed77a29c30 /klippy/stepper.py | |
parent | 8bf3e56301283ff9d657bc739b2ff1c3be4197d2 (diff) | |
download | kutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.tar.gz kutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.tar.xz kutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.zip |
itersolve: Add ability to query the active_flags state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r-- | klippy/stepper.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |