diff --git a/App/app/app.c b/App/app/app.c index 264bf7ce..7f172faf 100644 --- a/App/app/app.c +++ b/App/app/app.c @@ -892,6 +892,12 @@ static void HandleVox(void) void APP_Update(void) { +#ifdef ENABLE_FEAT_F4HWN_SCREENSHOT + // Parse incoming packets on every tick so serial keys are never missed, + // regardless of whether the screen needs redrawing. + SCREENSHOT_ParseInput(); +#endif + #ifdef ENABLE_VOICE if (gFlagPlayQueuedVoice) { AUDIO_PlayQueuedVoice(); diff --git a/App/app/breakout.c b/App/app/breakout.c index b55b178b..1e667772 100644 --- a/App/app/breakout.c +++ b/App/app/breakout.c @@ -416,6 +416,12 @@ static KEY_Code_t GetKey() // HandleUserInput static bool HandleUserInput() { +#ifdef ENABLE_FEAT_F4HWN_SCREENSHOT + // Parse incoming packets on every tick so serial keys are never missed, + // regardless of whether the screen needs redrawing. + SCREENSHOT_ParseInput(); +#endif + kbd.prev = kbd.current; kbd.current = GetKey();