🎨 Apply F() to serial macros
This commit is contained in:
@ -614,7 +614,7 @@ void announceOpen(const uint8_t doing, const char * const path) {
|
||||
PORT_REDIRECT(SerialMask::All);
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOPGM("Now ");
|
||||
SERIAL_ECHOPGM_P(doing == 1 ? PSTR("doing") : PSTR("fresh"));
|
||||
SERIAL_ECHOF(doing == 1 ? F("doing") : F("fresh"));
|
||||
SERIAL_ECHOLNPGM(" file: ", path);
|
||||
}
|
||||
}
|
||||
@ -1325,7 +1325,7 @@ void CardReader::fileHasFinished() {
|
||||
removeFile(recovery.filename);
|
||||
#if ENABLED(DEBUG_POWER_LOSS_RECOVERY)
|
||||
SERIAL_ECHOPGM("Power-loss file delete");
|
||||
SERIAL_ECHOPGM_P(jobRecoverFileExists() ? PSTR(" failed.\n") : PSTR("d.\n"));
|
||||
SERIAL_ECHOF(jobRecoverFileExists() ? F(" failed.\n") : F("d.\n"));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user