Add USB_FLASH_DRIVE_SUPPORT
This commit is contained in:
1 parent
07fe8d28be
commit
2067619a26
34 files changed
+5718
-8
No files matched your search
@@ -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