diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index 36974d012c..3946d224e2 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -322,7 +322,7 @@ #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA) #endif - #ifdef ULTIPANEL + #if defined(ULTIPANEL) && !defined(ELB_FULL_GRAPHIC_CONTROLLER) #undef SDCARDDETECTINVERTED #endif diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 8a05298d59..ad47ad68de 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -289,7 +289,9 @@ // You can get round this by connecting a push button or single throw switch to the pin defined as SDCARDCARDDETECT // in the pins.h file. When using a push button pulling the pin to ground this will need inverted. This setting should // be commented out otherwise - #define SDCARDDETECTINVERTED + #ifndef ELB_FULL_GRAPHIC_CONTROLLER + #define SDCARDDETECTINVERTED + #endif #define SD_FINISHED_STEPPERRELEASE true //if sd support and the file is finished: disable steppers? #define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the z enabled so your bed stays in place.