mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-27 14:45:10 -07:00
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 <kevin@koconnor.net>
This commit is contained in:
parent
8de426d244
commit
84e9a28141
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class VirtualSD:
|
|||
continue
|
||||
# Pause if any other request is pending in the gcode class
|
||||
if gcode_mutex.test():
|
||||
self.reactor.pause(self.reactor.monotonic() + 0.100)
|
||||
self.reactor.pause(self.reactor.monotonic() + 0.050)
|
||||
continue
|
||||
# Dispatch command
|
||||
self.cmd_from_sd = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue