mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:29:01 +08:00
Reverting this commit as this was not the correct way to fix it.
Revert "Do not send new G-CODEs when the RX buffer is filling up. This is in an attempt to fix #1777 where smoothieware based printers would halt in the middle of the print." This reverts commit 112bb260acb8655e929cf377b18f505d62608eb1.
This commit is contained in:
parent
5214ef3bde
commit
a024be78dc
@ -306,7 +306,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
self._sendCommand(self._command_queue.get())
|
||||
elif self._paused:
|
||||
pass # Nothing to do!
|
||||
elif self._serial.in_waiting < 256: # Do not send new G-CODE when the RX buffer is filling up
|
||||
else:
|
||||
self._sendNextGcodeLine()
|
||||
elif b"resend" in line.lower() or b"rs" in line:
|
||||
# A resend can be requested either by Resend, resend or rs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user