Set testet delays for K8200, RAMBO, MINIRAMBO and ST7920

This commit is contained in:
AnHardt 2016-06-14 11:08:28 +02:00 committed by Scott Lahteine
parent 4454d80276
commit b4076883cc

View File

@ -66,6 +66,26 @@
#define ST7920_DELAY_3 DELAY_1_NOP
#endif
#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
#define ST7920_DELAY_1 DELAY_0_NOP
#endif
@ -73,7 +93,7 @@
#define ST7920_DELAY_2 DELAY_0_NOP
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_1_NOP
#define ST7920_DELAY_3 DELAY_0_NOP
#endif
#elif F_CPU == 16000000
#ifndef ST7920_DELAY_1