瀏覽代碼

Up/down buttons were reversed, swapped the assignments

brupje 9 年之前
父節點
當前提交
816aa19861
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 2
- 2
Marlin/ultralcd_implementation_hitachi_HD44780.h 查看文件

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