1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +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()) if (!ReadWriteAllowed())
ReleaseRX(); ReleaseRX();
return c; 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) if (!--_timeout)