mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
usb connecting now correctly works for ultimaker + keeping connection allive when idling
This commit is contained in:
parent
bd651c6bcb
commit
e82fa17548
2 changed files with 181 additions and 44 deletions
|
@ -17,8 +17,10 @@ class USBPrinterManager(SignalEmitter,PluginObject):
|
|||
self._check_ports_thread = threading.Thread(target=self._updateConnectionList)
|
||||
self._check_ports_thread.daemon = True
|
||||
self._check_ports_thread.start()
|
||||
#time.sleep(2)
|
||||
#self.connectAllConnections()
|
||||
time.sleep(2)
|
||||
self.connectAllConnections()
|
||||
#time.sleep(1)
|
||||
#self._printer_connections[0]._sendCommand("M109")
|
||||
|
||||
## Check all serial ports and create a PrinterConnection object for them.
|
||||
# Note that this does not validate if the serial ports are actually usable!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue