X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm%2Fao_interrupt.c;fp=src%2Fstm%2Fao_interrupt.c;h=1d563532b755cf7f1144400803ef0a034536febb;hp=d8be36670baf608726adfa910b9aa70e4b31d5ed;hb=ffbf340c516a7fff7c95b808586f623269fe4338;hpb=ee009332a17557076f4c9348a31658f5bf605240 diff --git a/src/stm/ao_interrupt.c b/src/stm/ao_interrupt.c index d8be3667..1d563532 100644 --- a/src/stm/ao_interrupt.c +++ b/src/stm/ao_interrupt.c @@ -77,8 +77,11 @@ void start(void) #ifdef AO_BOOT_CHAIN if (ao_boot_check_chain()) { #ifdef AO_BOOT_PIN - ao_boot_check_pin(); + if (ao_boot_check_pin()) #endif + { + ao_boot_chain(AO_BOOT_APPLICATION_BASE); + } } #endif /* Set interrupt vector table offset */