X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_interrupt.c;h=3ef51dfa63fddbe78185e181ae8a1baf6b5d8977;hb=70481772386d556b8a7981da38a03f5c9b181a7c;hp=3d7dc7a82c653e2eff6be3327b4edd252ae6ad88;hpb=2108da105ed9c915fc09d1251dc655bf11203d79;p=fw%2Faltos diff --git a/src/stmf0/ao_interrupt.c b/src/stmf0/ao_interrupt.c index 3d7dc7a8..3ef51dfa 100644 --- a/src/stmf0/ao_interrupt.c +++ b/src/stmf0/ao_interrupt.c @@ -186,8 +186,11 @@ void _start(void) #if AO_BOOT_CHAIN if (ao_boot_check_chain()) { #if AO_BOOT_PIN - ao_boot_check_pin(); + if (ao_boot_check_pin()) #endif + { + ao_boot_chain(AO_BOOT_APPLICATION_BASE); + } } #endif /* Turn on syscfg */