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:
parent
aa1d38613a
commit
8d3b74cc6e
28 changed files with 54 additions and 54 deletions
|
|
@ -88,7 +88,7 @@
|
|||
#define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
|
||||
#endif // LCD_I2C_PANELOLU2
|
||||
//not connected to a pin
|
||||
#define SDCARDDETECT -1
|
||||
#define SDCARDDETECT_PIN -1
|
||||
#endif // ULTRA_LCD && NEWPANEL
|
||||
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
#define BTN_ENC 47 //the click switch
|
||||
|
||||
#define SDSS 45
|
||||
#define SDCARDDETECT -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||
#define SDCARDDETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||
|
||||
#if ENABLED(TEMP_STAT_LEDS)
|
||||
#define STAT_LED_RED 12 //Non-FastIO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue