diff options
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index ad2fe3ee56..acee5ee951 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -806,7 +806,7 @@ typedef double mp_float_t; // This macro is used to do all output (except when MICROPY_PY_IO is defined) #ifndef MP_PLAT_PRINT_STRN -#define MP_PLAT_PRINT_STRN(str, len) printf("%.*s", (int)len, str) +#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len) #endif #ifndef MP_SSIZE_MAX |