diff options
Diffstat (limited to 'windows/windows_mphal.c')
-rw-r--r-- | windows/windows_mphal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/windows_mphal.c b/windows/windows_mphal.c index 2a803f1089..702efa4960 100644 --- a/windows/windows_mphal.c +++ b/windows/windows_mphal.c @@ -26,8 +26,8 @@ #include "py/mpstate.h" +#include "py/mphal.h" -#include MICROPY_HAL_H #include <windows.h> #include <unistd.h> @@ -170,11 +170,11 @@ int mp_hal_stdin_rx_chr(void) { } } -void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len) { +void mp_hal_stdout_tx_strn(const char *str, size_t len) { write(1, str, len); } -void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) { +void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len) { mp_hal_stdout_tx_strn(str, len); } |