aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index 50fea974..dde40e9b 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -329,10 +329,11 @@ class ToolHead:
self._check_stall()
def home(self, homing_state):
self.kin.home(homing_state)
- def dwell(self, delay):
+ def dwell(self, delay, check_stall=True):
self.get_last_move_time()
self.update_move_time(delay)
- self._check_stall()
+ if check_stall:
+ self._check_stall()
def motor_off(self):
self.dwell(STALL_TIME)
last_move_time = self.get_last_move_time()