From c9060df3e4ad3b1f102b69217cd0dc828287b787 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Thu, 14 May 2026 18:10:56 +0200 Subject: [PATCH] yaclf --- src/activities/boot_sleep/SleepActivity.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/activities/boot_sleep/SleepActivity.cpp b/src/activities/boot_sleep/SleepActivity.cpp index c83e7dc2..808269e4 100644 --- a/src/activities/boot_sleep/SleepActivity.cpp +++ b/src/activities/boot_sleep/SleepActivity.cpp @@ -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);