mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 00:36:08 +02:00
toolhead: Don't enter "Priming" state on a dwell()
After a toolhead dwell, there is no reason to enter the priming state and to create the priming exiration timer. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -331,6 +331,9 @@ class ToolHead:
|
||||
self.printer.invoke_shutdown("Exception in priming_handler")
|
||||
return self.reactor.NEVER
|
||||
def _check_priming_state(self, eventtime):
|
||||
if self.lookahead.is_empty():
|
||||
# In "NeedPrime" state and can remain there
|
||||
return
|
||||
est_print_time = self.mcu.estimated_print_time(eventtime)
|
||||
if self.check_stall_time:
|
||||
# Was in "NeedPrime" state and got there from idle input
|
||||
|
||||
Reference in New Issue
Block a user