From 8f59bacb92cb705d79f08f29f4d64c0a774ab78f Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Mon, 3 Aug 2015 15:07:20 -0700 Subject: stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 --- stmhal/extint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stmhal/extint.c') 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); -- cgit v1.2.3