mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-16 03:07:56 -06:00
itersolve: Add ability to query the active_flags state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8bf3e56301
commit
d1972b1e9c
4 changed files with 14 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue