diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
commit | 40f3c026823f8951a2fa04e9c7fc93c75bc27bec (patch) | |
tree | c9c8210654c7114f00c5234a8481d9b5fbd28ce0 /stmhal/extint.c | |
parent | 065aba587571150074ea79483ffa72c0fe6bc8c8 (diff) |
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50.
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 591246cdd..d2eace574 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]; |