Add FYSETC 2.42 inch OLED support (#18485)

This commit is contained in:
George Fu
2020-07-03 09:33:52 +08:00
committed by GitHub
parent e401b0c8ee
commit 097347b575
6 changed files with 108 additions and 51 deletions

View File

@@ -246,7 +246,7 @@ void MarlinUI::init_lcd() {
OUT_WRITE(LCD_BACKLIGHT_PIN, DISABLED(DELAYED_BACKLIGHT_INIT)); // Illuminate after reset or right away
#endif
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306, FYSETC_242_OLED_12864)
SET_OUTPUT(LCD_PINS_DC);
#ifndef LCD_RESET_PIN
#define LCD_RESET_PIN LCD_PINS_RS