projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing...
[pub/lufa.git]
/
Bootloaders
/
HID
/
HostLoaderApp
/
hid_bootloader_cli.c
diff --git
a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c
b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c
index
e22d394
..
e1f2ea0
100644
(file)
--- a/
Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c
+++ b/
Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c
@@
-710,10
+710,10
@@
int teensy_open(void)
{
teensy_close();
uhid_teensy_fd = open_usb_device(0x16C0, 0x0478);
{
teensy_close();
uhid_teensy_fd = open_usb_device(0x16C0, 0x0478);
-
+
if (uhid_teensy_fd < 0)
uhid_teensy_fd = open_usb_device(0x03eb, 0x2067);
if (uhid_teensy_fd < 0)
uhid_teensy_fd = open_usb_device(0x03eb, 0x2067);
-
+
if (uhid_teensy_fd < 0) return 0;
return 1;
}
if (uhid_teensy_fd < 0) return 0;
return 1;
}
@@
-826,7
+826,7
@@
parse_hex_line(char *line)
int addr, code, num;
int sum, len, cksum, i;
char *ptr;
int addr, code, num;
int sum, len, cksum, i;
char *ptr;
-
+
num = 0;
if (line[0] != ':') return 0;
if (strlen(line) < 11) return 0;
num = 0;
if (line[0] != ':') return 0;
if (strlen(line) < 11) return 0;