aboutsummaryrefslogtreecommitdiff
path: root/bare-arm
diff options
context:
space:
mode:
authorDamien George2017-08-21 21:34:23 +1000
committerDamien George2017-08-21 21:34:23 +1000
commit4ec803a42ae3080d4af959c7c2edf81e57f79377 (patch)
tree9ca889389b8087b3474d8a9eb855963a3ca07859 /bare-arm
parent4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff)
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
Diffstat (limited to 'bare-arm')
-rw-r--r--bare-arm/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h
index 17f794521..3fbd3769f 100644
--- a/bare-arm/mpconfigport.h
+++ b/bare-arm/mpconfigport.h
@@ -60,7 +60,7 @@ typedef long mp_off_t;
// extra built in names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
- { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
+ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
// We need to provide a declaration/definition of alloca()
#include <alloca.h>