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>
This commit is contained in:
Damien George
2021-02-04 14:43:24 +11:00
parent 5fdf351178
commit 7c44354592
11 changed files with 0 additions and 18 deletions

View File

@@ -332,8 +332,6 @@ extern const struct _mp_obj_module_t ble_module;
__WFI(); \
} while (0);
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
// We need to provide a declaration/definition of alloca()
#include <alloca.h>