X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm32f4%2Fao_interrupt.c;fp=src%2Fstm32f4%2Fao_interrupt.c;h=20577b14e4c3b8262b83795de1cf6985ee308c0e;hp=24f56abc5e730f90d0288fe1704e30f96cd3ef4d;hb=21da942560863ed191953e1af2fbca66bcc29fb8;hpb=6b5e5899d174466552a34a4d8574f0439776240d 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 */