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:
Kevin O'Connor
2025-10-08 22:02:08 -04:00
parent 8de426d244
commit 84e9a28141

View File

@@ -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