Set testet delays for K8200, RAMBO, MINIRAMBO and ST7920

master
AnHardt 9 years ago committed by Scott Lahteine
parent 4454d80276
commit b4076883cc

@ -66,6 +66,26 @@
#define ST7920_DELAY_3 DELAY_1_NOP #define ST7920_DELAY_3 DELAY_1_NOP
#endif #endif
#elif (MOTHERBOARD == BOARD_3DRAG) || (MOTHERBOARD == BOARD_K8200) #elif (MOTHERBOARD == BOARD_3DRAG) || (MOTHERBOARD == BOARD_K8200)
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_0_NOP
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_3_NOP
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_0_NOP
#endif
#elif (MOTHERBOARD == BOARD_MINIRAMBO)
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_0_NOP
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_4_NOP
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_0_NOP
#endif
#elif (MOTHERBOARD == BOARD_RAMBO)
#ifndef ST7920_DELAY_1 #ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_0_NOP #define ST7920_DELAY_1 DELAY_0_NOP
#endif #endif
@ -73,7 +93,7 @@
#define ST7920_DELAY_2 DELAY_0_NOP #define ST7920_DELAY_2 DELAY_0_NOP
#endif #endif
#ifndef ST7920_DELAY_3 #ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_1_NOP #define ST7920_DELAY_3 DELAY_0_NOP
#endif #endif
#elif F_CPU == 16000000 #elif F_CPU == 16000000
#ifndef ST7920_DELAY_1 #ifndef ST7920_DELAY_1

Loading…
Cancel
Save