Browse Source

Set testet delays for K8200, RAMBO, MINIRAMBO and ST7920

AnHardt 8 years ago
parent
commit
b4076883cc
1 changed files with 21 additions and 1 deletions
  1. 21
    1
      Marlin/ultralcd_st7920_u8glib_rrd.h

+ 21
- 1
Marlin/ultralcd_st7920_u8glib_rrd.h View File

@@ -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

Loading…
Cancel
Save