diff options
| author | Damien George <damien@micropython.org> | 2024-01-10 23:41:10 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-09 00:22:32 +1000 |
| commit | 53b7c14836b00a432855439513721dcf07392041 (patch) | |
| tree | e5f823bbbc5fa51d4b43a52b525de40c058144cd | |
| parent | ada0939c5f474e7204b6d3468bd27603daea676b (diff) | |
alif/modmachine: Enable machine.Timer.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/alif/modmachine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/alif/modmachine.c b/ports/alif/modmachine.c index c4102225d..e19150e01 100644 --- a/ports/alif/modmachine.c +++ b/ports/alif/modmachine.c @@ -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(); |
