Add MKS_12864OLED to lcd_implementation_init

Followup to #7914
This commit is contained in:
Scott Lahteine 2018-03-12 08:53:41 -05:00
parent 468f34104b
commit 5dec828abc

View File

@ -364,6 +364,13 @@ void lcd_printPGM_utf(const char *str, uint8_t n=LCD_WIDTH) {
// Initialize or re-initialize the LCD
static void lcd_implementation_init() {
#if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
SET_OUTPUT(LCD_PINS_DC);
OUT_WRITE(LCD_PINS_RS, LOW);
delay(1000);
WRITE(LCD_PINS_RS, HIGH);
#endif
#if PIN_EXISTS(LCD_BACKLIGHT) // Enable LCD backlight
OUT_WRITE(LCD_BACKLIGHT_PIN, HIGH);
#endif