From f63015fa2ac7fae135f4dff4c8185922b86810af Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Sun, 14 Aug 2011 14:29:44 -0400 Subject: increased bootloader delay to approx. 3.5 s --- bootloaders/diskloader/src/USBCore.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bootloaders') 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) -- cgit v1.2.3-18-g5258