aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/HID/HostLoaderApp_Python
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-07-14 15:08:38 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-07-14 15:08:38 +0200
commit368c9af7842b4f9fa254d093f6da1daf429a97ad (patch)
treeedb3d2b95f0d1e4da89454ce052a3e1664836fd1 /Bootloaders/HID/HostLoaderApp_Python
parent9fc655f438435e0c040666918537bb6275851f7f (diff)
downloadlufa-368c9af7842b4f9fa254d093f6da1daf429a97ad.tar.gz
lufa-368c9af7842b4f9fa254d093f6da1daf429a97ad.tar.bz2
lufa-368c9af7842b4f9fa254d093f6da1daf429a97ad.zip
Minor code style improvement to the HID bootloader Python script.
Diffstat (limited to 'Bootloaders/HID/HostLoaderApp_Python')
-rw-r--r--Bootloaders/HID/HostLoaderApp_Python/hid_bootloader_loader.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/Bootloaders/HID/HostLoaderApp_Python/hid_bootloader_loader.py b/Bootloaders/HID/HostLoaderApp_Python/hid_bootloader_loader.py
index b5313714c..aea61abf5 100644
--- a/Bootloaders/HID/HostLoaderApp_Python/hid_bootloader_loader.py
+++ b/Bootloaders/HID/HostLoaderApp_Python/hid_bootloader_loader.py
@@ -20,7 +20,7 @@
"""
import sys
-import pywinusb.hid as hid
+from pywinusb import hid
from intelhex import IntelHex
@@ -28,15 +28,15 @@ from intelhex import IntelHex
device_info_map = dict()
device_info_map['at90usb1287'] = {'page_size': 256, 'flash_kb': 128}
device_info_map['at90usb1286'] = {'page_size': 256, 'flash_kb': 128}
-device_info_map['at90usb647'] = {'page_size': 256, 'flash_kb': 64}
-device_info_map['at90usb646'] = {'page_size': 256, 'flash_kb': 64}
-device_info_map['atmega32u4'] = {'page_size': 128, 'flash_kb': 32}
-device_info_map['atmega32u2'] = {'page_size': 128, 'flash_kb': 32}
-device_info_map['atmega16u4'] = {'page_size': 128, 'flash_kb': 16}
-device_info_map['atmega16u2'] = {'page_size': 128, 'flash_kb': 16}
-device_info_map['at90usb162'] = {'page_size': 128, 'flash_kb': 16}
-device_info_map['atmega8u2'] = {'page_size': 128, 'flash_kb': 8}
-device_info_map['at90usb82'] = {'page_size': 128, 'flash_kb': 8}
+device_info_map['at90usb647'] = {'page_size': 256, 'flash_kb': 64}
+device_info_map['at90usb646'] = {'page_size': 256, 'flash_kb': 64}
+device_info_map['atmega32u4'] = {'page_size': 128, 'flash_kb': 32}
+device_info_map['atmega32u2'] = {'page_size': 128, 'flash_kb': 32}
+device_info_map['atmega16u4'] = {'page_size': 128, 'flash_kb': 16}
+device_info_map['atmega16u2'] = {'page_size': 128, 'flash_kb': 16}
+device_info_map['at90usb162'] = {'page_size': 128, 'flash_kb': 16}
+device_info_map['atmega8u2'] = {'page_size': 128, 'flash_kb': 8}
+device_info_map['at90usb82'] = {'page_size': 128, 'flash_kb': 8}
def get_hid_device_handle():