Try to fix mirror screen bug

This commit is contained in:
Armel FAUVEAU
2024-10-05 04:05:48 +02:00
parent bec0f4469c
commit 8987e3bf8b

View File

@@ -1598,7 +1598,8 @@ void APP_TimeSlice500ms(void)
#ifdef ENABLE_FEAT_F4HWN_SLEEP #ifdef ENABLE_FEAT_F4HWN_SLEEP
if (gSleepModeCountdown_500ms == gSetting_set_off * 120 && gWakeUp) { if (gSleepModeCountdown_500ms == gSetting_set_off * 120 && gWakeUp) {
ST7565_Init(); //ST7565_Init();
ST7565_FixInterfGlitch();
BK4819_ToggleGpioOut(BK4819_GPIO5_PIN1_RED, false); BK4819_ToggleGpioOut(BK4819_GPIO5_PIN1_RED, false);
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 10; gPowerSave_10ms = gEeprom.BATTERY_SAVE * 10;
gWakeUp = false; gWakeUp = false;