fixed starting Leonardo bootloader from sketch
AvrdudeUploader class opens and closes Leonardo port at the magic baudrate before starting avrdude; reduced reset timeout from 250 ms to 15 ms
This commit is contained in:
parent
c7df908cec
commit
d7b0507e8a
|
@ -29,7 +29,7 @@ void Reboot()
|
|||
cli();
|
||||
|
||||
// Reset the microcontroller to run the bootloader
|
||||
wdt_enable(WDTO_250MS);
|
||||
wdt_enable(WDTO_15MS);
|
||||
for (;;);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue