From 814e5edb0733628f2cf66df34c686b345d0dcaa6 Mon Sep 17 00:00:00 2001 From: OneOfEleven Date: Wed, 4 Oct 2023 19:01:00 +0100 Subject: [PATCH] Toggle scankists update --- app/action.c | 12 +++++++++--- firmware.bin | Bin 53928 -> 53940 bytes firmware.packed.bin | Bin 53946 -> 53958 bytes 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/action.c b/app/action.c index 9aa2565..72bf5a2 100644 --- a/app/action.c +++ b/app/action.c @@ -184,10 +184,16 @@ void ACTION_Scan(bool bRestart) if (gScanState != SCAN_OFF) { - SCANNER_Stop(); + #if 1 + // keep scanning but swap scan lists + gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u; + gUpdateStatus = true; + #else + SCANNER_Stop(); - #ifdef ENABLE_VOICE - gAnotherVoiceID = VOICE_ID_SCANNING_STOP; + #ifdef ENABLE_VOICE + gAnotherVoiceID = VOICE_ID_SCANNING_STOP; + #endif #endif } else diff --git a/firmware.bin b/firmware.bin index 62724c261e65b373115c6c0fcbf716a3a95d665d..bf82c9841c6e3a3db0949c7c9ed3f23ff9b9faf5 100644 GIT binary patch delta 19733 zcma*PcU)6f`v87U281ObDq+b@E@~ivBw;C95ga5J+*Spx1KWaV8(aieP^;po>vSmC zR!g-w>cHCd*4FO*HnDG8(Dp4ZZd*Ij+Iq9^?>QIj@B96I|M`9N6`BqrVDE@gi5WH_Vkl67Vy46?qjuo@2d$hD4NCZ@;mzdhN-QPzTm9YenHd zqNtNQA6$V)>yY)Lf@4+`Behx%t;jl=UAf*;ylK^b`5;_O;^l#?ntvhWz7WerqJd~z z;=z)E&S-NXig5kli87a!h9H`r?^PiU#9x!Kih=l3GD}e~@U$lm>O&C&<=IegfcOQ{ zrpUuJq)Ra_(vI{Yj&ZD`v9z?Aq$`JE9hnNh2S}sRfZrk~l`KAW{!8UVjAxMe&^`D% zc`=m3Z<0HqrPxLaRKrsi_`_O}exM^8g|viqPfrdbm}QvI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