diff options
| author | Dave Hylands | 2015-08-03 15:07:20 -0700 |
|---|---|---|
| committer | Damien George | 2015-08-07 08:52:42 +0100 |
| commit | 8f59bacb92cb705d79f08f29f4d64c0a774ab78f (patch) | |
| tree | d58104222746d8f1a61ebb7297a9501cbf0dcdfd /stmhal/extint.c | |
| parent | be66a9ecf60eac18e08eda7bddf4b3481459c9f2 (diff) | |
stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7
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 f89549269..ebd9d3e39 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); |
