summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
committerDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
commit4ec803a42ae3080d4af959c7c2edf81e57f79377 (patch)
tree9ca889389b8087b3474d8a9eb855963a3ca07859 /unix
parent4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff)
downloadmicropython-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.h2
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 \