diff options
Diffstat (limited to 'stmhal/extint.c')
-rw-r--r-- | stmhal/extint.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stmhal/extint.c b/stmhal/extint.c index 591246cdd1..d2eace5745 100644 --- a/stmhal/extint.c +++ b/stmhal/extint.c @@ -101,14 +101,14 @@ #define EXTI_SWIER_BB(line) (*(__IO uint32_t *)(PERIPH_BB_BASE + ((EXTI_OFFSET + offsetof(EXTI_TypeDef, SWIER)) * 32) + ((line) * 4))) typedef struct { - mp_obj_base_t base; - mp_small_int_t line; + mp_obj_base_t base; + mp_int_t line; } extint_obj_t; typedef struct { - mp_obj_t callback_obj; - void *param; - uint32_t mode; + mp_obj_t callback_obj; + void *param; + uint32_t mode; } extint_vector_t; STATIC extint_vector_t extint_vector[EXTI_NUM_VECTORS]; |