mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added extra timeout when not detecting baudrate through bootloader
This commit is contained in:
parent
8676f3db40
commit
e69747577b
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
if self._serial is None:
|
||||
try:
|
||||
self._serial = serial.Serial(str(self._serial_port), baud_rate, timeout = 3, writeTimeout = 10000)
|
||||
time.sleep(10)
|
||||
except serial.SerialException:
|
||||
Logger.log("d", "Could not open port %s" % self._serial_port)
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue