aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/manual_stepper.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/manual_stepper.py')
-rw-r--r--klippy/extras/manual_stepper.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/klippy/extras/manual_stepper.py b/klippy/extras/manual_stepper.py
index 40db4a50..e18989d3 100644
--- a/klippy/extras/manual_stepper.py
+++ b/klippy/extras/manual_stepper.py
@@ -104,6 +104,11 @@ class ManualStepper:
self.do_move(movepos, speed, accel, sync)
elif gcmd.get_int('SYNC', 0):
self.sync_print_time()
+
+ def get_status(self, eventtime):
+ return {'position': self.rail.get_commanded_position(),
+ 'enabled': self.steppers[0].is_motor_enabled()}
+
# Toolhead wrappers to support homing
def flush_step_generation(self):
self.sync_print_time()