summaryrefslogtreecommitdiff
path: root/ports/stm32/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/timer.c')
-rw-r--r--ports/stm32/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/timer.c b/ports/stm32/timer.c
index 8181885e2..0cef60cb6 100644
--- a/ports/stm32/timer.c
+++ b/ports/stm32/timer.c
@@ -1684,3 +1684,5 @@ void timer_irq_handler(uint tim_id) {
}
}
}
+
+MP_REGISTER_ROOT_POINTER(struct _pyb_timer_obj_t *pyb_timer_obj_all[MICROPY_HW_MAX_TIMER]);