X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f4%2Fao_interrupt.c;h=20577b14e4c3b8262b83795de1cf6985ee308c0e;hb=2447293cbaaf7b783744ca2f68bf1769a8798841;hp=24f56abc5e730f90d0288fe1704e30f96cd3ef4d;hpb=015d3055a52532070e96469907683c3aa3eda44e;p=fw%2Faltos diff --git a/src/stm32f4/ao_interrupt.c b/src/stm32f4/ao_interrupt.c index 24f56abc..20577b14 100644 --- a/src/stm32f4/ao_interrupt.c +++ b/src/stm32f4/ao_interrupt.c @@ -45,8 +45,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 /* Enable FPU */