Rename SDCARDDETECT to SDCARDDETECT_PIN

- Rename the pin so it can be tested with `PIN_EXISTS`
- Fix some incorrect tests for `SDCARDDETECT`
This commit is contained in:
Scott Lahteine
2015-07-31 15:09:36 -07:00
committed by Richard Wackerbarth
parent aa1d38613a
commit 8d3b74cc6e
28 changed files with 54 additions and 54 deletions

View File

@@ -156,7 +156,7 @@
#define LCD_SDSS 28 // Smart Controller SD card reader rather than the Melzi
#endif //Panelolu2
#define SDCARDDETECT -1
#define SDCARDDETECT_PIN -1
#elif ENABLED(MAKRPANEL)
@@ -178,7 +178,7 @@
#define BTN_EN2 10
#define BTN_ENC 16
#define SDCARDDETECT -1
#define SDCARDDETECT_PIN -1
#endif // MAKRPANEL