diff options
Diffstat (limited to 'src/stm-flash/ao_stm_flash.c')
| -rw-r--r-- | src/stm-flash/ao_stm_flash.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/stm-flash/ao_stm_flash.c b/src/stm-flash/ao_stm_flash.c index 16dd1189..968da9f1 100644 --- a/src/stm-flash/ao_stm_flash.c +++ b/src/stm-flash/ao_stm_flash.c @@ -25,8 +25,14 @@ ao_panic(uint8_t reason) for (;;); } +void +ao_application(void) +{ + ao_boot_reboot(AO_BOOT_APPLICATION_BASE); +} + __code struct ao_cmds ao_flash_cmds[] = { - { ao_reboot_application, "A\0Switch to application" }, + { ao_application, "A\0Switch to application" }, { 0, NULL }, }; |
