Skip to content

Commit

Permalink
manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"
Browse files Browse the repository at this point in the history
This reverts commit b029d04.

The MCU_Stepper class does not have a is_motor_enabled() method, so
the change above results in an internal exception.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
  • Loading branch information
KevinOConnor committed Apr 10, 2024
1 parent a8b493a commit 4cfa266
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions docs/Status_Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,6 @@ understands it).
- `z_position_lower`: Last probe attempt just lower than the current height.
- `z_position_upper`: Last probe attempt just greater than the current height.

## manual_stepper

The following information is available in the
`manual_stepper` object:
- `enabled`: Returns True if the stepper is currently enabled.
- `position`: The requested position.

## mcu

The following information is available in
Expand Down
5 changes: 0 additions & 5 deletions klippy/extras/manual_stepper.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ def cmd_MANUAL_STEPPER(self, gcmd):
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()
Expand Down

0 comments on commit 4cfa266

Please sign in to comment.