Explorar el Código

More general SD_DETECT_INVERTED override

Scott Lahteine hace 4 años
padre
commit
b21edce943
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/inc/Conditionals_post.h

+ 1
- 1
Marlin/src/inc/Conditionals_post.h Ver fichero

@@ -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
 

Loading…
Cancelar
Guardar