diff options
| author | Mike Causer <mcauser@gmail.com> | 2017-12-03 22:42:50 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-02-12 15:18:33 +1100 |
| commit | 812969d615e130bef7e525553dbb7b01c27191ea (patch) | |
| tree | 36ce525c5dacb1e3d2e5b8e1120be2817439384e /ports/stm32/main.c | |
| parent | d976e4f5e805ae7678dac9553846b738f80ba79e (diff) | |
all: Change PYB message prefix to MPY.
Replaces "PYB: soft reboot" with "MPY: soft reboot", etc.
Having a consistent prefix across ports reduces the difference between
ports, which is a general goal. And this change won't break pyboard.py
because that tool only looks for "soft reboot".
Diffstat (limited to 'ports/stm32/main.c')
| -rw-r--r-- | ports/stm32/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 3028f907b..8a65188ed 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -203,7 +203,7 @@ MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) { if (res == FR_OK) { // success creating fresh LFS } else { - printf("PYB: can't create flash filesystem\n"); + printf("MPY: can't create flash filesystem\n"); return false; } @@ -235,7 +235,7 @@ MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) { // mount sucessful } else { fail: - printf("PYB: can't mount flash\n"); + printf("MPY: can't mount flash\n"); return false; } @@ -349,7 +349,7 @@ STATIC bool init_sdcard_fs(void) { } if (first_part) { - printf("PYB: can't mount SD card\n"); + printf("MPY: can't mount SD card\n"); return false; } else { return true; @@ -763,11 +763,11 @@ soft_reset_exit: // soft reset #if MICROPY_HW_ENABLE_STORAGE - printf("PYB: sync filesystems\n"); + printf("MPY: sync filesystems\n"); storage_flush(); #endif - printf("PYB: soft reboot\n"); + printf("MPY: soft reboot\n"); #if MICROPY_PY_NETWORK mod_network_deinit(); #endif |
