X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_interrupt.c;h=fcd330f1b5aafc6620075ecfad98ad40a3be6aa6;hb=refs%2Fheads%2Fbdale-ui;hp=0025de47153445bbf6d5df961c54726dab0d4c23;hpb=3310b22e28d953a6569cd50e83f91c25577424a5;p=fw%2Faltos diff --git a/src/stmf0/ao_interrupt.c b/src/stmf0/ao_interrupt.c index 0025de47..1ee6e720 100644 --- a/src/stmf0/ao_interrupt.c +++ b/src/stmf0/ao_interrupt.c @@ -72,8 +72,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 */