|
@ -240,8 +240,6 @@ bool MarlinUI::detected() { return true; } |
|
|
|
|
|
|
|
|
// Initialize or re-initialize the LCD
|
|
|
// Initialize or re-initialize the LCD
|
|
|
void MarlinUI::init_lcd() { |
|
|
void MarlinUI::init_lcd() { |
|
|
#if DISABLED(MKS_LCD12864) |
|
|
|
|
|
|
|
|
|
|
|
#if PIN_EXISTS(LCD_BACKLIGHT) |
|
|
#if PIN_EXISTS(LCD_BACKLIGHT) |
|
|
OUT_WRITE(LCD_BACKLIGHT_PIN, DISABLED(DELAYED_BACKLIGHT_INIT)); // Illuminate after reset or right away
|
|
|
OUT_WRITE(LCD_BACKLIGHT_PIN, DISABLED(DELAYED_BACKLIGHT_INIT)); // Illuminate after reset or right away
|
|
|
#endif |
|
|
#endif |
|
@ -272,8 +270,6 @@ void MarlinUI::init_lcd() { |
|
|
TERN_(LCD_SCREEN_ROT_180, u8g.setRot180()); |
|
|
TERN_(LCD_SCREEN_ROT_180, u8g.setRot180()); |
|
|
TERN_(LCD_SCREEN_ROT_270, u8g.setRot270()); |
|
|
TERN_(LCD_SCREEN_ROT_270, u8g.setRot270()); |
|
|
|
|
|
|
|
|
#endif // !MKS_LCD12864
|
|
|
|
|
|
|
|
|
|
|
|
uxg_SetUtf8Fonts(g_fontinfo, COUNT(g_fontinfo)); |
|
|
uxg_SetUtf8Fonts(g_fontinfo, COUNT(g_fontinfo)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|