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:
1 parent
8de426d244
commit
84e9a28141
1 file changed
+1
-1
@@ -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