mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
formatting
This commit is contained in:
parent
9d889cf2db
commit
3fa02d3710
6 changed files with 289 additions and 286 deletions
|
@ -29,7 +29,8 @@ class PrinterConnection():
|
|||
|
||||
def _connect(self):
|
||||
self._is_connecting = True
|
||||
programmer.connect(serial_port) #Connect with the serial, if this succeeds, it's an arduino based usb device.
|
||||
programmer = stk500v2.Stk500v2()
|
||||
programmer.connect(self._serial_port) #Connect with the serial, if this succeeds, it's an arduino based usb device.
|
||||
try:
|
||||
self._serial = programmer.leaveISP()
|
||||
# Create new printer connection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue