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:
Zach Eveland 2012-02-03 21:42:46 -05:00
parent c7df908cec
commit d7b0507e8a
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ void Reboot()
cli();
// Reset the microcontroller to run the bootloader
wdt_enable(WDTO_250MS);
wdt_enable(WDTO_15MS);
for (;;);
}