lib/utils/stdout_helpers: Fix function signature to match py/mphal.h.

pull/2348/merge
Paul Sokolovsky 2016-08-25 15:22:25 +03:00
rodzic a589fa3e0b
commit 9897bcaa73
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@
// Send "cooked" string of given length, where every occurance of
// LF character is replaced with CR LF.
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) {
while (len--) {
if (*str == '\n') {
mp_hal_stdout_tx_strn("\r", 1);