More general SD_DETECT_INVERTED override

This commit is contained in:
Scott Lahteine 2020-03-08 14:47:04 -05:00
parent 2a71e4f336
commit b21edce943

View file

@ -294,7 +294,7 @@
/** /**
* Override here because this is set in Configuration_adv.h * Override here because this is set in Configuration_adv.h
*/ */
#if HAS_LCD_MENU && DISABLED(ELB_FULL_GRAPHIC_CONTROLLER) && !(defined(ARDUINO_GRAND_CENTRAL_M4) && SD_CONNECTION_IS(ONBOARD)) #if HAS_LCD_MENU && DISABLED(ELB_FULL_GRAPHIC_CONTROLLER) && (SD_CONNECTION_IS(LCD) || !defined(SDCARD_CONNECTION))
#undef SD_DETECT_INVERTED #undef SD_DETECT_INVERTED
#endif #endif