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
@ -133,7 +133,7 @@
|
||||
#define BLEN_B 1
|
||||
#define BLEN_A 0
|
||||
|
||||
#define SDCARDDETECT 81 // Ramps does not use this port
|
||||
#define SDCARDDETECT_PIN 81 // Ramps doesn't use this port
|
||||
|
||||
#else //!NEWPANEL - old style panel with shift register
|
||||
|
||||
@ -180,7 +180,7 @@
|
||||
#define BTN_EN2 84
|
||||
#define BTN_ENC 83 //the click switch
|
||||
|
||||
#define SDCARDDETECT -1 // Pin 72 if using easy adapter board
|
||||
#define SDCARDDETECT_PIN -1 // Pin 72 if using easy adapter board
|
||||
|
||||
#if ENABLED(TEMP_STAT_LEDS)
|
||||
#define STAT_LED_RED 22
|
||||
|
Reference in New Issue
Block a user