Stop scan with MENU button and accept scan result

This commit is contained in:
Krzysiek Egzmont 2023-10-24 04:09:46 +02:00
parent 856dbe083d
commit 77d58eb8f5

View File

@ -578,6 +578,11 @@ static void MAIN_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
if (bFlag)
{
if (gScanStateDir != SCAN_OFF) {
SCANNER_Stop();
return;
}
gFlagRefreshSetting = true;
gRequestDisplayScreen = DISPLAY_MENU;
#ifdef ENABLE_VOICE