Browse Source

🐛 Fix Ender-3 v2 language init (#22550)

vanilla_fb_2.0.x
Miguel Risco-Castillo 3 years ago
committed by Scott Lahteine
parent
commit
2a323d0a8e
  1. 2
      Marlin/src/MarlinCore.cpp
  2. 1
      Marlin/src/lcd/e3v2/creality/dwin.h

2
Marlin/src/MarlinCore.cpp

@ -1587,7 +1587,7 @@ void setup() {
#if ENABLED(DWIN_CREALITY_LCD)
Encoder_Configuration();
HMI_Init();
DWIN_JPG_CacheTo1(Language_English);
HMI_SetLanguageCache();
HMI_StartFrame(true);
DWIN_StatusChanged_P(GET_TEXT(WELCOME_MSG));
#endif

1
Marlin/src/lcd/e3v2/creality/dwin.h

@ -215,6 +215,7 @@ void HMI_MaxFeedspeedXYZE();
void HMI_MaxAccelerationXYZE();
void HMI_MaxJerkXYZE();
void HMI_StepXYZE();
void HMI_SetLanguageCache();
void update_variable();
void DWIN_Draw_Signed_Float(uint8_t size, uint16_t bColor, uint8_t iNum, uint8_t fNum, uint16_t x, uint16_t y, long value);

Loading…
Cancel
Save