mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 00:36:08 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user