summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/timer.c')
-rw-r--r--stmhal/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/timer.c b/stmhal/timer.c
index 73842e4b1d..30bcf2c079 100644
--- a/stmhal/timer.c
+++ b/stmhal/timer.c
@@ -90,7 +90,7 @@
typedef struct _pyb_timer_obj_t {
mp_obj_base_t base;
- machine_uint_t tim_id;
+ mp_uint_t tim_id;
mp_obj_t callback;
TIM_HandleTypeDef tim;
IRQn_Type irqn;