From e77e558d646bbeea04feaf78c09d26e76364dbf7 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Wed, 18 Mar 2026 01:07:03 +0100 Subject: [PATCH] Revert welcome.c and fix default keepAlive to 3 (PR #218) --- App/screenshot.c | 2 +- App/ui/welcome.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/App/screenshot.c b/App/screenshot.c index 09fe54e2..e73355bb 100644 --- a/App/screenshot.c +++ b/App/screenshot.c @@ -26,7 +26,7 @@ // - No currentFrame or deltaFrame static buffers static uint8_t previousFrame[1024] = {0}; static uint8_t forcedBlock = 0; -static uint8_t keepAlive = 0; +static uint8_t keepAlive = 3; void SCREENSHOT_ParseInput(void) { diff --git a/App/ui/welcome.c b/App/ui/welcome.c index d94057fe..0cecf63b 100644 --- a/App/ui/welcome.c +++ b/App/ui/welcome.c @@ -221,8 +221,8 @@ void UI_DisplayWelcome(void) //ST7565_BlitStatusLine(); // blank status line : I think it's useless ST7565_BlitFullScreen(); - // #ifdef ENABLE_FEAT_F4HWN_SCREENSHOT - // SCREENSHOT_Update(true); // I think that's useless too - // #endif + #ifdef ENABLE_FEAT_F4HWN_SCREENSHOT + SCREENSHOT_Update(true); + #endif } } \ No newline at end of file