diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 20:06:17 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 20:06:17 -0400 |
commit | b9eece6584577968a7bcd04249039408a68ba4be (patch) | |
tree | 254b2917a5f28589a58634facf19b2df0fd3273d /bootloaders/nuevo_diskloader/src/USBCore.cpp | |
parent | c83d85b87a658751f8e28735c1f08b37898b2b64 (diff) |
some progress on responding to parameter requests
Diffstat (limited to 'bootloaders/nuevo_diskloader/src/USBCore.cpp')
-rw-r--r-- | bootloaders/nuevo_diskloader/src/USBCore.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bootloaders/nuevo_diskloader/src/USBCore.cpp b/bootloaders/nuevo_diskloader/src/USBCore.cpp index bf6a6d9..8b7ef82 100644 --- a/bootloaders/nuevo_diskloader/src/USBCore.cpp +++ b/bootloaders/nuevo_diskloader/src/USBCore.cpp @@ -268,14 +268,14 @@ int USB_Send(u8 ep, const void* d, int len) while (len) { u8 n = USB_SendSpace(ep); - if (n == 0) - { - if (!(--timeout)) - return -1; +// if (n == 0) +// { +// if (!(--timeout)) +// return -1; // delay(1); - _delay_ms(1); - continue; - } +// _delay_ms(1); +// continue; +// } if (n > len) n = len; |