This commit is contained in:
jpirnay
2026-05-14 18:10:56 +02:00
parent bc62d882e4
commit c9060df3e4
+3 -4
View File
@@ -362,10 +362,9 @@ void SleepActivity::onEnter() {
// page is fully cleared. The full sync triggered by requestResync drives the panel to a
// clean white state; the sleep screen is then drawn on top without residual ghost content.
// Skipped for OVERLAY (frame buffer must stay intact) and BLANK (already renders white).
const bool needsX3PreFlash =
gpio.deviceIsX3() &&
SETTINGS.sleepScreen != CrossPointSettings::SLEEP_SCREEN_MODE::OVERLAY &&
SETTINGS.sleepScreen != CrossPointSettings::SLEEP_SCREEN_MODE::BLANK;
const bool needsX3PreFlash = gpio.deviceIsX3() &&
SETTINGS.sleepScreen != CrossPointSettings::SLEEP_SCREEN_MODE::OVERLAY &&
SETTINGS.sleepScreen != CrossPointSettings::SLEEP_SCREEN_MODE::BLANK;
if (needsX3PreFlash) {
renderer.clearScreen();
display.requestResync(1);