Parcourir la source

More general SD_DETECT_INVERTED override

Scott Lahteine il y a 4 ans
Parent
révision
b21edce943
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      Marlin/src/inc/Conditionals_post.h

+ 1
- 1
Marlin/src/inc/Conditionals_post.h Voir le fichier

@@ -294,7 +294,7 @@
294 294
 /**
295 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 298
   #undef SD_DETECT_INVERTED
299 299
 #endif
300 300
 

Chargement…
Annuler
Enregistrer