diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-14 14:29:44 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-14 14:29:44 -0400 |
commit | f63015fa2ac7fae135f4dff4c8185922b86810af (patch) | |
tree | 0033e9a72978c683f5b4bf37d5ada7e049ba700b /bootloaders | |
parent | be087d96dc1a00bddebb71b56d7b01a2555ddf14 (diff) |
increased bootloader delay to approx. 3.5 s
Diffstat (limited to 'bootloaders')
-rw-r--r-- | bootloaders/diskloader/src/USBCore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloaders/diskloader/src/USBCore.cpp b/bootloaders/diskloader/src/USBCore.cpp index b6f8c44..fbfad0e 100644 --- a/bootloaders/diskloader/src/USBCore.cpp +++ b/bootloaders/diskloader/src/USBCore.cpp @@ -502,6 +502,10 @@ int USBGetChar() if (!ReadWriteAllowed()) ReleaseRX(); return c; + } else { + u8 temp = 0; + for (temp=100; temp; temp--) + asm volatile("nop\n\t" "nop\n\t" "nop\n\t" "nop\n\t"::); } if (!--_timeout) |