X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Fao_interrupt.c;h=3e0119c6e6639b674925acb08b291718b939501d;hb=refs%2Fheads%2Fbdale-ui;hp=8d71f43f2de38c1f0216d17d18d14b02e82e9559;hpb=c6e57291d91f1f6c4de5c54a5cfd3eef66d9f830;p=fw%2Faltos 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