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