Skip to content
Snippets Groups Projects
Commit 67b326d9 authored by Dave Hylands's avatar Dave Hylands Committed by Damien George
Browse files

stm32/extint: Remove unused (and incorrect) EXTI defines.

parent 3d17d9b5
No related branches found
No related tags found
No related merge requests found
......@@ -59,13 +59,6 @@
#define EXTI_NUM_VECTORS (PYB_EXTI_NUM_VECTORS)
#define EXTI_MODE_INTERRUPT (offsetof(EXTI_TypeDef, IMR))
#define EXTI_MODE_EVENT (offsetof(EXTI_TypeDef, EMR))
#define EXTI_TRIGGER_RISING (offsetof(EXTI_TypeDef, RTSR))
#define EXTI_TRIGGER_FALLING (offsetof(EXTI_TypeDef, FTSR))
#define EXTI_TRIGGER_RISING_FALLING (EXTI_TRIGGER_RISING + EXTI_TRIGGER_FALLING) // just different from RISING or FALLING
void extint_init0(void);
uint extint_register(mp_obj_t pin_obj, uint32_t mode, uint32_t pull, mp_obj_t callback_obj, bool override_callback_obj);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment