rename to quickdev and remove some busywaits
This commit is contained in:
parent
34ed695dee
commit
0887e64266
@ -441,7 +441,7 @@ int __attribute__ ((noreturn, OS_main)) main(void)
|
|||||||
uint16_t delay = 0;
|
uint16_t delay = 0;
|
||||||
timeout = TIMEOUT;
|
timeout = TIMEOUT;
|
||||||
|
|
||||||
uart_puts("Snesram Bootloader v0.1\n\r");
|
uart_puts("Quickdev Bootloader v0.2 www.optixx.org\n\r");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if power-on reset, quit bootloader via watchdog reset
|
* if power-on reset, quit bootloader via watchdog reset
|
||||||
@ -458,11 +458,7 @@ int __attribute__ ((noreturn, OS_main)) main(void)
|
|||||||
uart_puts("Found watchdog reset\n\r");
|
uart_puts("Found watchdog reset\n\r");
|
||||||
MCUSR = 0;
|
MCUSR = 0;
|
||||||
wdt_disable();
|
wdt_disable();
|
||||||
DLED_TGL;
|
uart_puts("Jump to 0x0000\n\r");
|
||||||
_delay_ms(500);
|
|
||||||
DLED_TGL;
|
|
||||||
_delay_ms(500);
|
|
||||||
uart_puts("Jump to main\n\r");
|
|
||||||
jump_to_app();
|
jump_to_app();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user