Browse Source

Set testet delays for K8200, RAMBO, MINIRAMBO and ST7920

pull/1/head
AnHardt 9 years ago
committed by Scott Lahteine
parent
commit
b4076883cc
  1. 22
      Marlin/ultralcd_st7920_u8glib_rrd.h

22
Marlin/ultralcd_st7920_u8glib_rrd.h

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

Loading…
Cancel
Save