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 /examples | |
| parent | 4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff) | |
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/embedding/mpconfigport_minimal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/embedding/mpconfigport_minimal.h b/examples/embedding/mpconfigport_minimal.h index 5b96aa4b0..fa52be4ad 100644 --- a/examples/embedding/mpconfigport_minimal.h +++ b/examples/embedding/mpconfigport_minimal.h @@ -89,7 +89,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 \ |
