diff options
| -rw-r--r-- | ports/stm32/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 87799d2d3..511da7d8a 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -204,7 +204,7 @@ MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) { } if (ret != 0) { - printf("MPY: can't mount flash\n"); + mp_printf(&mp_plat_print, "MPY: can't mount flash\n"); return false; } @@ -289,7 +289,7 @@ STATIC bool init_sdcard_fs(void) { } if (first_part) { - printf("MPY: can't mount SD card\n"); + mp_printf(&mp_plat_print, "MPY: can't mount SD card\n"); return false; } else { return true; |
