Browse Source

Added ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED

The new define allows the sd card detect to be inverted or not from
Configuration.h
Ed Boston 9 years ago
parent
commit
b94a0e1501
2 changed files with 4 additions and 1 deletions
  1. 3
    1
      Marlin/Conditionals.h
  2. 1
    0
      Marlin/Configuration.h

+ 3
- 1
Marlin/Conditionals.h View File

@@ -33,7 +33,9 @@
33 33
       #define DEFAULT_LCD_CONTRAST 40
34 34
     #elif defined(ELB_FULL_GRAPHIC_CONTROLLER)
35 35
       #define DEFAULT_LCD_CONTRAST 110
36
-      #define SDCARDDETECTINVERTED
36
+      #ifdef ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED
37
+        #define SDCARDDETECTINVERTED
38
+      #endif
37 39
       #define SDSLOW
38 40
       #define U8GLIB_LM6059_AF
39 41
     #endif

+ 1
- 0
Marlin/Configuration.h View File

@@ -670,6 +670,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
670 670
 //
671 671
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
672 672
 //#define ELB_FULL_GRAPHIC_CONTROLLER
673
+//#define ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED
673 674
 
674 675
 // The RepRapDiscount Smart Controller (white PCB)
675 676
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller

Loading…
Cancel
Save