Browse Source

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 11 years ago
parent
commit
595580556c
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 0
- 7
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

128
 // These values are independent of which pins are used for EN_A and EN_B indications
128
 // These values are independent of which pins are used for EN_A and EN_B indications
129
 // The rotary encoder part is also independent to the chipset used for the LCD
129
 // The rotary encoder part is also independent to the chipset used for the LCD
130
 #if defined(EN_A) && defined(EN_B)
130
 #if defined(EN_A) && defined(EN_B)
131
-  #ifndef ULTIMAKERCONTROLLER
132
     #define encrot0 0
131
     #define encrot0 0
133
     #define encrot1 2
132
     #define encrot1 2
134
     #define encrot2 3
133
     #define encrot2 3
135
     #define encrot3 1
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
 #endif 
135
 #endif 
143
 
136
 
144
 #endif //ULTIPANEL
137
 #endif //ULTIPANEL

Loading…
Cancel
Save