X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_boot_pin.c;h=f21ce1b251ff5931d5609ebb1926b6d2d68966ed;hb=HEAD;hp=b289b80439f9c10399d42715ca0026b6280face5;hpb=b140da92536d7c48ba37868f1c2afce7bb86dfdb;p=fw%2Faltos diff --git a/src/stmf0/ao_boot_pin.c b/src/stmf0/ao_boot_pin.c index b289b804..43212dfd 100644 --- a/src/stmf0/ao_boot_pin.c +++ b/src/stmf0/ao_boot_pin.c @@ -20,6 +20,7 @@ #include #include +#if AO_BOOT_PIN int ao_boot_check_pin(void) { @@ -44,3 +45,4 @@ ao_boot_check_pin(void) stm_rcc.apb1enr &= ~(1UL << STM_RCC_APB1ENR_PWREN); return v == AO_BOOT_APPLICATION_VALUE; } +#endif