alif/modmachine: Enable machine.Timer.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-01-10 23:41:10 +11:00
parent ada0939c5f
commit 53b7c14836

View File

@@ -29,6 +29,7 @@
#define MICROPY_PY_MACHINE_EXTRA_GLOBALS \
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&machine_pin_type) }, \
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&machine_timer_type) }, \
static void mp_machine_idle(void) {
mp_event_wait_indefinite();