Browse Source

More general SD_DETECT_INVERTED override

Scott Lahteine 5 years ago
parent
commit
b21edce943
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/Conditionals_post.h

+ 1
- 1
Marlin/src/inc/Conditionals_post.h View File

294
 /**
294
 /**
295
  * Override here because this is set in Configuration_adv.h
295
  * Override here because this is set in Configuration_adv.h
296
  */
296
  */
297
-#if HAS_LCD_MENU && DISABLED(ELB_FULL_GRAPHIC_CONTROLLER) && !(defined(ARDUINO_GRAND_CENTRAL_M4) && SD_CONNECTION_IS(ONBOARD))
297
+#if HAS_LCD_MENU && DISABLED(ELB_FULL_GRAPHIC_CONTROLLER) && (SD_CONNECTION_IS(LCD) || !defined(SDCARD_CONNECTION))
298
   #undef SD_DETECT_INVERTED
298
   #undef SD_DETECT_INVERTED
299
 #endif
299
 #endif
300
 
300
 

Loading…
Cancel
Save