Don't autostart the sketch on 'reboot to bootloader'

pull/18/head
Jesse Vincent 10 years ago
parent 1a0e627162
commit 4c12abe3fc

@ -108,7 +108,7 @@ int main(void)
StartSketch(); StartSketch();
} else if ((mcusr_state & (1<<WDRF)) && (bootKeyPtrVal != bootKey) && (pgm_read_word(0) != 0xFFFF)) { } else if ((mcusr_state & (1<<WDRF)) && (bootKeyPtrVal != bootKey) && (pgm_read_word(0) != 0xFFFF)) {
// If it looks like an "accidental" watchdog reset then start the sketch. // If it looks like an "accidental" watchdog reset then start the sketch.
StartSketch(); //StartSketch();
} }
/* Setup hardware required for the bootloader */ /* Setup hardware required for the bootloader */

Loading…
Cancel
Save