Skip to content

Commit 094ca72

Browse files
committed
virtual_sdcard: Reduce pause time on busy detection
If there are other users of the gcode mutex then pause for 50ms (instead of 100ms). Signed-off-by: Kevin O'Connor <[email protected]>
1 parent 206b6f0 commit 094ca72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klippy/extras/virtual_sdcard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def work_handler(self, eventtime):
259259
continue
260260
# Pause if any other request is pending in the gcode class
261261
if gcode_mutex.test():
262-
self.reactor.pause(self.reactor.monotonic() + 0.100)
262+
self.reactor.pause(self.reactor.monotonic() + 0.050)
263263
continue
264264
# Dispatch command
265265
self.cmd_from_sd = True

0 commit comments

Comments
 (0)