瀏覽代碼

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 年之前
父節點
當前提交
b94a0e1501
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. 3
    1
      Marlin/Conditionals.h
  2. 1
    0
      Marlin/Configuration.h

+ 3
- 1
Marlin/Conditionals.h 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存