X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_interrupt.c;h=1ee6e720091be2e277fca3b26536fd559caea35d;hp=0025de47153445bbf6d5df961c54726dab0d4c23;hb=ffbf340c516a7fff7c95b808586f623269fe4338;hpb=ee009332a17557076f4c9348a31658f5bf605240 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 */