From 7d53cec6c2948589aa2c7901363f7a2ef94019e6 Mon Sep 17 00:00:00 2001 From: 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 Date: Wed, 24 Jul 2024 21:46:03 -0700 Subject: [PATCH] disable long-press of digits while scanning --- app/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/main.c b/app/main.c index eb9150342..b7345e212 100644 --- a/app/main.c +++ b/app/main.c @@ -342,6 +342,11 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) gRequestDisplayScreen = DISPLAY_MAIN; } + if (gScanStateDir != SCAN_OFF) { + gBeepToPlay = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL; + return; + } + gWasFKeyPressed = false; gUpdateStatus = true;