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:
committed by
Richard Wackerbarth
parent
aa1d38613a
commit
8d3b74cc6e
@ -73,7 +73,7 @@
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC 19
|
||||
|
||||
#define SDCARDDETECT 38
|
||||
#define SDCARDDETECT_PIN 38
|
||||
|
||||
#else //!NEWPANEL - Old style panel with shift register
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
|
||||
#define SDCARDDETECT -1
|
||||
#define SDCARDDETECT_PIN -1
|
||||
|
||||
#endif // !NEWPANEL
|
||||
|
||||
|
Reference in New Issue
Block a user