altos/stmf0: Change tests for AO_BOOT_CHAIN and AO_BOOT_PIN to #if
[fw/altos] / src / stmf0 / ao_interrupt.c
index fcd330f1b5aafc6620075ecfad98ad40a3be6aa6..0d6f61131c0532d87e4daac9a9dafd8a895d2320 100644 (file)
@@ -69,9 +69,9 @@ stm_flash_size(void) {
 
 void start(void)
 {
-#ifdef AO_BOOT_CHAIN
+#if AO_BOOT_CHAIN
        if (ao_boot_check_chain()) {
-#ifdef AO_BOOT_PIN
+#if AO_BOOT_PIN
                ao_boot_check_pin();
 #endif
        }