🎨 Apply F() to various reports
This commit is contained in:
		@@ -44,10 +44,10 @@
 | 
			
		||||
 | 
			
		||||
void menu_job_recovery();
 | 
			
		||||
 | 
			
		||||
inline void plr_error(PGM_P const prefix) {
 | 
			
		||||
inline void plr_error(FSTR_P const prefix) {
 | 
			
		||||
  #if ENABLED(DEBUG_POWER_LOSS_RECOVERY)
 | 
			
		||||
    DEBUG_ECHO_START();
 | 
			
		||||
    DEBUG_ECHOPGM_P(prefix);
 | 
			
		||||
    DEBUG_ECHOF(prefix);
 | 
			
		||||
    DEBUG_ECHOLNPGM(" Job Recovery Data");
 | 
			
		||||
  #else
 | 
			
		||||
    UNUSED(prefix);
 | 
			
		||||
@@ -91,7 +91,7 @@ void GcodeSuite::M1000() {
 | 
			
		||||
      recovery.resume();
 | 
			
		||||
  }
 | 
			
		||||
  else
 | 
			
		||||
    plr_error(recovery.info.valid_head ? PSTR("No") : PSTR("Invalid"));
 | 
			
		||||
    plr_error(recovery.info.valid_head ? F("No") : F("Invalid"));
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ void GcodeSuite::M413() {
 | 
			
		||||
    if (parser.seen("RL")) recovery.load();
 | 
			
		||||
    if (parser.seen_test('W')) recovery.save(true);
 | 
			
		||||
    if (parser.seen_test('P')) recovery.purge();
 | 
			
		||||
    if (parser.seen_test('D')) recovery.debug(PSTR("M413"));
 | 
			
		||||
    if (parser.seen_test('D')) recovery.debug(F("M413"));
 | 
			
		||||
    #if PIN_EXISTS(POWER_LOSS)
 | 
			
		||||
      if (parser.seen_test('O')) recovery._outage();
 | 
			
		||||
    #endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user