Auto-mount the SDIO SD card (#13879)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							ee243e4edf
						
					
				
				
					commit
					51d1e0f1dd
				
			@@ -939,6 +939,11 @@ void setup() {
 | 
			
		||||
 | 
			
		||||
  queue_setup();
 | 
			
		||||
 | 
			
		||||
  #if ENABLED(SDIO_SUPPORT) && SD_DETECT_PIN == -1
 | 
			
		||||
    // Auto-mount the SD for EEPROM.dat emulation
 | 
			
		||||
    if (!card.isDetected()) card.initsd();
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  // Load data from EEPROM if available (or use defaults)
 | 
			
		||||
  // This also updates variables in the planner, elsewhere
 | 
			
		||||
  (void)settings.load();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user