瀏覽代碼

Fixed bug that makes ulticontroller knob backwards introduced Feb 28 2013 by Robert.

Bug introduced in version 6beb42cdf6.
Robert did a good job of simplifying but messed up this chunk of code.

Looking at working version: 839bef6d5d
it seems there is no case where encrot3 should be defined as 2
because if ULTICONTROLLER is defined then NEWPANEL is also defined.
George Roberts 10 年之前
父節點
當前提交
595580556c
共有 1 個檔案被更改,包括 0 行新增7 行删除
  1. 0
    7
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 0
- 7
Marlin/ultralcd_implementation_hitachi_HD44780.h 查看文件

@@ -128,17 +128,10 @@ extern volatile uint16_t buttons;  //an extended version of the last checked but
128 128
 // These values are independent of which pins are used for EN_A and EN_B indications
129 129
 // The rotary encoder part is also independent to the chipset used for the LCD
130 130
 #if defined(EN_A) && defined(EN_B)
131
-  #ifndef ULTIMAKERCONTROLLER
132 131
     #define encrot0 0
133 132
     #define encrot1 2
134 133
     #define encrot2 3
135 134
     #define encrot3 1
136
-  #else
137
-    #define encrot0 0
138
-    #define encrot1 1
139
-    #define encrot2 3
140
-    #define encrot3 2
141
-  #endif
142 135
 #endif 
143 136
 
144 137
 #endif //ULTIPANEL

Loading…
取消
儲存