Commit b981e37c authored by Damien George's avatar Damien George

stm32/main: Use mp_printf instead of printf for MPY start-up messages.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent b9dad0ad
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment