X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Flpc%2Fao_interrupt.c;h=a479ec6d59585835c508e6e2cff7ce8db47e0c13;hp=8d71f43f2de38c1f0216d17d18d14b02e82e9559;hb=ffbf340c516a7fff7c95b808586f623269fe4338;hpb=ee009332a17557076f4c9348a31658f5bf605240 diff --git a/src/lpc/ao_interrupt.c b/src/lpc/ao_interrupt.c index 8d71f43f..a479ec6d 100644 --- a/src/lpc/ao_interrupt.c +++ b/src/lpc/ao_interrupt.c @@ -53,8 +53,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 #if RELOCATE_INTERRUPT