diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-21 21:34:23 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-21 21:34:23 +1000 |
commit | 4ec803a42ae3080d4af959c7c2edf81e57f79377 (patch) | |
tree | 9ca889389b8087b3474d8a9eb855963a3ca07859 /unix | |
parent | 4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff) | |
download | micropython-4ec803a42ae3080d4af959c7c2edf81e57f79377.tar.gz micropython-4ec803a42ae3080d4af959c7c2edf81e57f79377.zip |
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpconfigport_minimal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mpconfigport_minimal.h b/unix/mpconfigport_minimal.h index e37605eabf..ef7a1a09a0 100644 --- a/unix/mpconfigport_minimal.h +++ b/unix/mpconfigport_minimal.h @@ -97,7 +97,7 @@ extern const struct _mp_obj_module_t mp_module_os; #define MICROPY_PORT_BUILTIN_MODULES \ - { MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&mp_module_os }, \ + { MP_ROM_QSTR(MP_QSTR_uos), MP_ROM_PTR(&mp_module_os) }, \ #define MICROPY_PORT_ROOT_POINTERS \ |