diff options
| author | Damien George | 2021-02-04 14:43:24 +1100 |
|---|---|---|
| committer | Damien George | 2021-02-04 22:39:17 +1100 |
| commit | 7c4435459261f1ea93577938b1ab281239d159e7 (patch) | |
| tree | f80f3ec491197754ac4b0571379f58c63afe3292 /ports/javascript | |
| parent | 5fdf351178df9a18df624ae0f5947d8a5a6bce40 (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/javascript')
| -rw-r--r-- | ports/javascript/mpconfigport.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ports/javascript/mpconfigport.h b/ports/javascript/mpconfigport.h index 0101e10c8..d1bfbbd60 100644 --- a/ports/javascript/mpconfigport.h +++ b/ports/javascript/mpconfigport.h @@ -180,8 +180,6 @@ typedef int mp_int_t; // must be pointer size typedef unsigned mp_uint_t; // must be pointer size typedef long mp_off_t; -#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len) - // extra built in names to add to the global namespace #define MICROPY_PORT_BUILTINS \ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) }, |
