alif/modmachine: Enable machine.Timer.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user