Sfoglia il codice sorgente

Up/down buttons were reversed, swapped the assignments

brupje 9 anni fa
parent
commit
816aa19861
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 2
- 2
Marlin/ultralcd_implementation_hitachi_HD44780.h Vedi File

@@ -77,10 +77,10 @@
77 77
     #define BLEN_REPRAPWORLD_KEYPAD_F3 0
78 78
     #define BLEN_REPRAPWORLD_KEYPAD_F2 1
79 79
     #define BLEN_REPRAPWORLD_KEYPAD_F1 2
80
-    #define BLEN_REPRAPWORLD_KEYPAD_UP 3
80
+    #define BLEN_REPRAPWORLD_KEYPAD_UP 6
81 81
     #define BLEN_REPRAPWORLD_KEYPAD_RIGHT 4
82 82
     #define BLEN_REPRAPWORLD_KEYPAD_MIDDLE 5
83
-    #define BLEN_REPRAPWORLD_KEYPAD_DOWN 6
83
+    #define BLEN_REPRAPWORLD_KEYPAD_DOWN 3
84 84
     #define BLEN_REPRAPWORLD_KEYPAD_LEFT 7
85 85
     
86 86
     #define REPRAPWORLD_BTN_OFFSET 0 // bit offset into buttons for shift register values

Loading…
Annulla
Salva