diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-09-12 12:47:40 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-19 17:25:42 -0400 |
commit | a100f174f98dc4294654da6f3145530fa05813c4 (patch) | |
tree | 5f46853022d8547d716dc6a54247c4acd3297d78 /klippy/homing.py | |
parent | 5dfe4e1eb977dada5ae29fa03fc0f17964d7c2dc (diff) | |
download | kutter-a100f174f98dc4294654da6f3145530fa05813c4.tar.gz kutter-a100f174f98dc4294654da6f3145530fa05813c4.tar.xz kutter-a100f174f98dc4294654da6f3145530fa05813c4.zip |
mcu: Pass print_time directly to MCU calls
Now that the print_time is always synchronized with the mcu_time,
there is no longer a need to track mcu_time as a separate quantity.
Eliminate references to mcu_time from the code and pass print_time
directly in its place.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/homing.py b/klippy/homing.py index c939c978..c3b9723b 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -42,7 +42,7 @@ class Homing: move_end_print_time = self.toolhead.get_last_move_time() self.toolhead.reset_print_time() for s, es, last_pos in endstops: - es.home_finalize(es.get_mcu().print_to_mcu_time(move_end_print_time)) + es.home_finalize(move_end_print_time) # Wait for endstops to trigger for s, es, last_pos in endstops: try: |