X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstmf0%2Fao_interrupt.c;h=3ef51dfa63fddbe78185e181ae8a1baf6b5d8977;hb=21da942560863ed191953e1af2fbca66bcc29fb8;hp=3d7dc7a82c653e2eff6be3327b4edd252ae6ad88;hpb=6b5e5899d174466552a34a4d8574f0439776240d;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 */