diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-04-28 20:41:53 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-04-28 20:42:33 -0400 |
commit | 25389027de95af395c3d40a61370427825ca1b1b (patch) | |
tree | e56c17934086ba385eff2364a13ef5c92aeb38af /klippy/extras/endstop_phase.py | |
parent | e77bf7431e05156a87748afc3ea1d823921de686 (diff) | |
download | kutter-25389027de95af395c3d40a61370427825ca1b1b.tar.gz kutter-25389027de95af395c3d40a61370427825ca1b1b.tar.xz kutter-25389027de95af395c3d40a61370427825ca1b1b.zip |
Revert "endstop_phase: wip"
This reverts commit f2e4653ca4b0ed9ee2c8d7b0aa12a5e3973fa285.
Revert incomplete testing code that was accidentally committed.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/endstop_phase.py')
-rw-r--r-- | klippy/extras/endstop_phase.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/klippy/extras/endstop_phase.py b/klippy/extras/endstop_phase.py index eccee4f6..8e70be74 100644 --- a/klippy/extras/endstop_phase.py +++ b/klippy/extras/endstop_phase.py @@ -118,7 +118,6 @@ class EndstopPhases: def __init__(self, config): self.printer = config.get_printer() self.tracking = {} - self.last_home_info = {} # Register handlers self.printer.register_event_handler("homing:home_rails_end", self.handle_home_rails_end) @@ -150,10 +149,6 @@ class EndstopPhases: return phase = convert_phase(driver_phase, driver_phases, len(phase_history)) phase_history[phase] += 1 - self.last_home_info[stepper.get_name()] = { - 'phase': phase, 'phases': len(phase_history), - 'mcu_position': stepper.get_mcu_position() - } def handle_home_rails_end(self, homing_state, rails): for rail in rails: stepper = rail.get_steppers()[0] @@ -210,8 +205,6 @@ class EndstopPhases: if info is None: continue self.generate_stats(stepper_name, info) - def get_status(self, eventtime): - return { 'last_home': self.last_home_info } def load_config_prefix(config): return EndstopPhase(config) |