We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2fe5d commit 9e4da23Copy full SHA for 9e4da23
ports/javascript/modutime.c
@@ -54,3 +54,5 @@ const mp_obj_module_t mp_module_utime = {
54
.base = { &mp_type_module },
55
.globals = (mp_obj_dict_t *)&time_module_globals,
56
};
57
+
58
+MP_REGISTER_MODULE(MP_QSTR_utime, mp_module_utime, 1);
ports/javascript/mpconfigport.h
@@ -126,11 +126,6 @@
126
127
#define MP_SSIZE_MAX (0x7fffffff)
128
129
-extern const struct _mp_obj_module_t mp_module_utime;
130
-
131
-#define MICROPY_PORT_BUILTIN_MODULES \
132
- { MP_ROM_QSTR(MP_QSTR_utime), MP_ROM_PTR(&mp_module_utime) }, \
133
134
// #define MICROPY_EVENT_POLL_HOOK {ets_event_poll();}
135
#if MICROPY_PY_THREAD
136
#define MICROPY_EVENT_POLL_HOOK \
0 commit comments