Add USB_FLASH_DRIVE_SUPPORT
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							07fe8d28be
						
					
				
				
					commit
					2067619a26
				
			@@ -243,7 +243,9 @@ private:
 | 
			
		||||
  #endif
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#if PIN_EXISTS(SD_DETECT)
 | 
			
		||||
#if ENABLED(USB_FLASH_DRIVE_SUPPORT)
 | 
			
		||||
  #define IS_SD_INSERTED Sd2Card::isInserted()
 | 
			
		||||
#elif PIN_EXISTS(SD_DETECT)
 | 
			
		||||
  #if ENABLED(SD_DETECT_INVERTED)
 | 
			
		||||
    #define IS_SD_INSERTED (READ(SD_DETECT_PIN) == HIGH)
 | 
			
		||||
  #else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user