Skip to content

Commit 1ab9b66

Browse files
committed
zephyr/mpconfigport: Remove duplicate builtins.open definition.
It's already provided because `MICROPY_PY_IO` is enabled. Tested on `bbc_microbit_v2`, there is now only a single open. Signed-off-by: Damien George <damien@micropython.org>
1 parent 1e164be commit 1ab9b66

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ports/zephyr/mpconfigport.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,6 @@ typedef long mp_off_t;
181181

182182
#define MP_SSIZE_MAX (0x7fffffff)
183183

184-
// extra built in names to add to the global namespace
185-
#define MICROPY_PORT_BUILTINS \
186-
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
187-
188184
#if MICROPY_PY_THREAD
189185
#define MICROPY_EVENT_POLL_HOOK \
190186
do { \

0 commit comments

Comments
 (0)