From 026d69773530cdf93919a6b6d893c928cc832371 Mon Sep 17 00:00:00 2001 From: Scott Petersen Date: Fri, 8 Nov 2013 14:37:20 -0800 Subject: [PATCH] Updated for changed open interface. --- firmwareupload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmwareupload.py b/firmwareupload.py index 9a8f932..03e5158 100755 --- a/firmwareupload.py +++ b/firmwareupload.py @@ -46,7 +46,7 @@ def main(): print "Flashing device: {0}\r\nFirmware: {1}".format(device, firmware) dev = pyad2usb.ad2usb.devices.SerialDevice(interface=device) - dev.open(interface=device, baudrate=19200) + dev.open(baudrate=19200) time.sleep(3) pyad2usb.ad2usb.util.Firmware.upload(dev, firmware, handle_firmware)