mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-08 07:27:43 -06:00
clocksync: Don't export get_last_clock()
Everywhere the data in get_last_clock() is used can be done just as easily with estimated_print_time(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
13812aa1c9
commit
008be18f41
3 changed files with 25 additions and 36 deletions
|
@ -357,6 +357,7 @@ class ToolHead:
|
|||
self.commanded_pos[3] = extrude_pos
|
||||
# Misc commands
|
||||
def check_active(self, eventtime):
|
||||
self.mcu.check_active(self.print_time, eventtime)
|
||||
if not self.sync_print_time:
|
||||
return True
|
||||
return self.print_time + 60. > self.mcu.estimated_print_time(eventtime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue