aboutsummaryrefslogtreecommitdiff
path: root/ports/esp32
diff options
context:
space:
mode:
authorDamien George2021-02-04 14:43:24 +1100
committerDamien George2021-02-04 22:39:17 +1100
commit7c4435459261f1ea93577938b1ab281239d159e7 (patch)
treef80f3ec491197754ac4b0571379f58c63afe3292 /ports/esp32
parent5fdf351178df9a18df624ae0f5947d8a5a6bce40 (diff)
ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default.
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's the same as the default definition in py/mpconfig.h. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32')
-rw-r--r--ports/esp32/mpconfigport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h
index f170d7070..5ad5fa18a 100644
--- a/ports/esp32/mpconfigport.h
+++ b/ports/esp32/mpconfigport.h
@@ -223,7 +223,6 @@ struct mp_bluetooth_nimble_root_pointers_t;
#define BYTES_PER_WORD (4)
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p)))
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
void *esp_native_code_commit(void *, size_t, void *);
#define MP_PLAT_COMMIT_EXEC(buf, len, reloc) esp_native_code_commit(buf, len, reloc)
#define MP_SSIZE_MAX (0x7fffffff)