diff options
Diffstat (limited to 'stmhal/extint.c')
-rw-r--r-- | stmhal/extint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/extint.c b/stmhal/extint.c index f89549269f..ebd9d3e39b 100644 --- a/stmhal/extint.c +++ b/stmhal/extint.c @@ -188,7 +188,7 @@ void extint_enable(uint line) { if (line >= EXTI_NUM_VECTORS) { return; } - #if defined(STM32F7) + #if defined(MCU_SERIES_F7) // The Cortex-M7 doesn't have bitband support. mp_uint_t irq_state = disable_irq(); if (pyb_extint_mode[line] == EXTI_Mode_Interrupt) { @@ -210,7 +210,7 @@ void extint_disable(uint line) { return; } - #if defined(STM32F7) + #if defined(MCU_SERIES_F7) // The Cortex-M7 doesn't have bitband support. mp_uint_t irq_state = disable_irq(); EXTI->IMR &= ~(1 << line); |