From b21edce943f16439162febbcc7571e1a0ed4492b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 8 Mar 2020 14:47:04 -0500 Subject: [PATCH] More general SD_DETECT_INVERTED override --- Marlin/src/inc/Conditionals_post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/inc/Conditionals_post.h b/Marlin/src/inc/Conditionals_post.h index 0a7d7aa52d..e2c7093bb1 100644 --- a/Marlin/src/inc/Conditionals_post.h +++ b/Marlin/src/inc/Conditionals_post.h @@ -294,7 +294,7 @@ /** * 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 #endif