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:
parent
213091f487
commit
13a269df2e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user