|
@@ -34,9 +34,9 @@
|
34
|
34
|
#include "ultralcd_st7920_u8glib_rrd_AVR.h"
|
35
|
35
|
|
36
|
36
|
#if F_CPU >= 20000000
|
37
|
|
- #define CPU_ST7920_DELAY_1 DELAY_NS(0)
|
|
37
|
+ #define CPU_ST7920_DELAY_1 DELAY_NS(150)
|
38
|
38
|
#define CPU_ST7920_DELAY_2 DELAY_NS(0)
|
39
|
|
- #define CPU_ST7920_DELAY_3 DELAY_NS(50)
|
|
39
|
+ #define CPU_ST7920_DELAY_3 DELAY_NS(150)
|
40
|
40
|
#elif MB(3DRAG, K8200, K8400)
|
41
|
41
|
#define CPU_ST7920_DELAY_1 DELAY_NS(0)
|
42
|
42
|
#define CPU_ST7920_DELAY_2 DELAY_NS(188)
|
|
@@ -58,9 +58,9 @@
|
58
|
58
|
#define CPU_ST7920_DELAY_2 DELAY_NS(40)
|
59
|
59
|
#define CPU_ST7920_DELAY_3 DELAY_NS(340)
|
60
|
60
|
#elif F_CPU == 16000000
|
61
|
|
- #define CPU_ST7920_DELAY_1 DELAY_NS(0)
|
|
61
|
+ #define CPU_ST7920_DELAY_1 DELAY_NS(125)
|
62
|
62
|
#define CPU_ST7920_DELAY_2 DELAY_NS(0)
|
63
|
|
- #define CPU_ST7920_DELAY_3 DELAY_NS(63)
|
|
63
|
+ #define CPU_ST7920_DELAY_3 DELAY_NS(125)
|
64
|
64
|
#else
|
65
|
65
|
#error "No valid condition for delays in 'ultralcd_st7920_u8glib_rrd_AVR.h'"
|
66
|
66
|
#endif
|