1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00

increased bootloader delay to approx. 3.5 s

This commit is contained in:
Zach Eveland 2011-08-14 14:29:44 -04:00
parent 213091f487
commit 13a269df2e

View File

@ -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)