diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-25 19:04:31 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-25 19:04:31 -0400 |
commit | 6bf6a20d268679daf3a6d489dee2f8dca5e8e1a1 (patch) | |
tree | d0ca440d4c555e1413161a62dae10d351c9a7992 /bootloaders/nuevo_diskloader/src/DiskLoader.cpp | |
parent | 89108dd2b9aa1bc533bbbdb0f1461ec0899c8d1d (diff) |
closer still - now up to 4680
Diffstat (limited to 'bootloaders/nuevo_diskloader/src/DiskLoader.cpp')
-rw-r--r-- | bootloaders/nuevo_diskloader/src/DiskLoader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp index 3b8657e..8088b7b 100644 --- a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp +++ b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp @@ -242,7 +242,8 @@ int main() u16 countdown = 5000; while (countdown-- > 10 && !USB_Available(CDC_RX)) ; - if (USB_Recv(CDC_RX) != ' ') + int x = USB_Recv(CDC_RX); + if (x != -1 && x != ' ') break; USB_Send(CDC_TX, &_inSync, 1); |