From 7c4435459261f1ea93577938b1ab281239d159e7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 4 Feb 2021 14:43:24 +1100 Subject: 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 --- ports/samd/mpconfigport.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ports/samd') diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h index ffb30bf5e..852d9e9ee 100644 --- a/ports/samd/mpconfigport.h +++ b/ports/samd/mpconfigport.h @@ -98,7 +98,6 @@ extern const struct _mp_obj_module_t mp_module_utime; } while (0); #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1)) -#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len) #define MP_SSIZE_MAX (0x7fffffff) typedef int mp_int_t; // must be pointer size -- cgit v1.2.3