Add missing baudrate to USB connection.

Extend the baudrate list by 500.000bd to also detect Vertex Delta 3D (K8800). Fixes #4952
This commit is contained in:
susisstrolch 2018-12-18 16:51:16 +01:00 committed by Jaime van Kessel
parent c526ca3900
commit 6600cea632
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._baud_rate = baud_rate
self._all_baud_rates = [115200, 250000, 230400, 57600, 38400, 19200, 9600]
self._all_baud_rates = [115200, 250000, 500000, 230400, 57600, 38400, 19200, 9600]
# Instead of using a timer, we really need the update to be as a thread, as reading from serial can block.
self._update_thread = Thread(target = self._update, daemon = True)