Skip to content

Commit 53b7c14

Browse files
committed
alif/modmachine: Enable machine.Timer.
Signed-off-by: Damien George <damien@micropython.org>
1 parent ada0939 commit 53b7c14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ports/alif/modmachine.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#define MICROPY_PY_MACHINE_EXTRA_GLOBALS \
3131
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&machine_pin_type) }, \
32+
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&machine_timer_type) }, \
3233

3334
static void mp_machine_idle(void) {
3435
mp_event_wait_indefinite();

0 commit comments

Comments
 (0)