From 4ec803a42ae3080d4af959c7c2edf81e57f79377 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 21 Aug 2017 21:34:23 +1000 Subject: all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros. --- examples/embedding/mpconfigport_minimal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 \ -- cgit v1.2.3