X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_boot_pin.c;fp=src%2Fstmf0%2Fao_boot_pin.c;h=43212dfd300c0024227bf5fe0e15c80dd3f0d00e;hp=b289b80439f9c10399d42715ca0026b6280face5;hb=9ce63bf0ae9c4d0f5ae20f42684c9eba7c9d42fc;hpb=598a504f9a59612f785f1444c2bf6f453911f9f3 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