mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-25 00:58:33 -07:00
toolhead: Don't enter "Priming" state on a dwell()
Some checks are pending
Build test / build (push) Waiting to run
Some checks are pending
Build test / build (push) Waiting to run
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:
parent
7f177aad1a
commit
b85b92fdfb
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue