From b85b92fdfb8496123671eccc696c856e3ca18b39 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 3 Oct 2025 17:53:09 -0400 Subject: [PATCH] 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 --- klippy/toolhead.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 192793463..996c34a37 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -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