🚸 Fix, Improve Power-Loss Recovery (#22828)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							11071c7472
						
					
				
				
					commit
					3e18cf2b6a
				
			@@ -48,9 +48,8 @@ void GcodeSuite::M413() {
 | 
			
		||||
    if (parser.seen_test('W')) recovery.save(true);
 | 
			
		||||
    if (parser.seen_test('P')) recovery.purge();
 | 
			
		||||
    if (parser.seen_test('D')) recovery.debug(F("M413"));
 | 
			
		||||
    #if PIN_EXISTS(POWER_LOSS)
 | 
			
		||||
      if (parser.seen_test('O')) recovery._outage();
 | 
			
		||||
    #endif
 | 
			
		||||
    if (parser.seen_test('O')) recovery._outage(true);
 | 
			
		||||
    if (parser.seen_test('C')) recovery.check();
 | 
			
		||||
    if (parser.seen_test('E')) SERIAL_ECHOF(recovery.exists() ? F("PLR Exists\n") : F("No PLR\n"));
 | 
			
		||||
    if (parser.seen_test('V')) SERIAL_ECHOF(recovery.valid() ? F("Valid\n") : F("Invalid\n"));
 | 
			
		||||
  #endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user