aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/nuevo_diskloader/src/USBCore.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-23 16:49:36 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-23 16:49:36 -0400
commit4f19d9bc8e4bd5c09eb21fd2e25748d5574e37c4 (patch)
tree7a45fb9da4d6bc0a2096a53ec12cb28004458849 /bootloaders/nuevo_diskloader/src/USBCore.cpp
parent8d5361044e84cb3e80d83e35f1946fb4f37a3079 (diff)
bootloader responds properly now. nearly there - still have an issue with it falling out of sync after completing most operations
Diffstat (limited to 'bootloaders/nuevo_diskloader/src/USBCore.cpp')
-rw-r--r--bootloaders/nuevo_diskloader/src/USBCore.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootloaders/nuevo_diskloader/src/USBCore.cpp b/bootloaders/nuevo_diskloader/src/USBCore.cpp
index 8b7ef82..abb529a 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 (n == 0)
+ {
// if (!(--timeout))
// return -1;
// delay(1);
-// _delay_ms(1);
-// continue;
-// }
+ _delay_ms(3);
+ continue;
+ }
if (n > len)
n = len;