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:
Kevin O'Connor
2025-10-03 17:53:09 -04:00
parent 7f177aad1a
commit b85b92fdfb

View File

@@ -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