浏览代码

Set testet delays for K8200, RAMBO, MINIRAMBO and ST7920

AnHardt 8 年前
父节点
当前提交
b4076883cc
共有 1 个文件被更改,包括 21 次插入1 次删除
  1. 21
    1
      Marlin/ultralcd_st7920_u8glib_rrd.h

+ 21
- 1
Marlin/ultralcd_st7920_u8glib_rrd.h 查看文件

@@ -70,10 +70,30 @@
70 70
     #define ST7920_DELAY_1 DELAY_0_NOP
71 71
   #endif
72 72
   #ifndef ST7920_DELAY_2
73
+    #define ST7920_DELAY_2 DELAY_3_NOP
74
+  #endif
75
+  #ifndef ST7920_DELAY_3
76
+    #define ST7920_DELAY_3 DELAY_0_NOP
77
+  #endif
78
+#elif (MOTHERBOARD == BOARD_MINIRAMBO)
79
+  #ifndef ST7920_DELAY_1
80
+    #define ST7920_DELAY_1 DELAY_0_NOP
81
+  #endif
82
+  #ifndef ST7920_DELAY_2
83
+    #define ST7920_DELAY_2 DELAY_4_NOP
84
+  #endif
85
+  #ifndef ST7920_DELAY_3
86
+    #define ST7920_DELAY_3 DELAY_0_NOP
87
+  #endif
88
+#elif (MOTHERBOARD == BOARD_RAMBO)
89
+  #ifndef ST7920_DELAY_1
90
+    #define ST7920_DELAY_1 DELAY_0_NOP
91
+  #endif
92
+  #ifndef ST7920_DELAY_2
73 93
     #define ST7920_DELAY_2 DELAY_0_NOP
74 94
   #endif
75 95
   #ifndef ST7920_DELAY_3
76
-    #define ST7920_DELAY_3 DELAY_1_NOP
96
+    #define ST7920_DELAY_3 DELAY_0_NOP
77 97
   #endif
78 98
 #elif F_CPU == 16000000
79 99
   #ifndef ST7920_DELAY_1

正在加载...
取消
保存