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 committed 2025-10-08 23:08:36 -04:00
1 parent 7f177aad1a
commit b85b92fdfb
1 file changed
+3
+3
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