diff --git a/Makefile b/Makefile index 02ed887..e9f9fef 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ ENABLE_CTCSS_TAIL_PHASE_SHIFT := 0 ENABLE_BOOT_BEEPS := 0 ENABLE_SHOW_CHARGE_LEVEL := 1 ENABLE_REVERSE_BAT_SYMBOL := 0 -ENABLE_CODE_SCAN_TIMEOUT := 0 +ENABLE_NO_CODE_SCAN_TIMEOUT := 1 ENABLE_AM_FIX := 1 ENABLE_AM_FIX_SHOW_DATA := 0 ENABLE_SQUELCH_MORE_SENSITIVE := 1 @@ -283,7 +283,7 @@ endif ifeq ($(ENABLE_REVERSE_BAT_SYMBOL),1) CFLAGS += -DENABLE_REVERSE_BAT_SYMBOL endif -ifeq ($(ENABLE_CODE_SCAN_TIMEOUT),1) +ifeq ($(ENABLE_NO_CODE_SCAN_TIMEOUT),1) CFLAGS += -DENABLE_CODE_SCAN_TIMEOUT endif ifeq ($(ENABLE_AM_FIX),1) diff --git a/README.md b/README.md index 5ef579d..61fd707 100644 --- a/README.md +++ b/README.md @@ -98,12 +98,12 @@ ENABLE_SMALL_BOLD := 1 bold channel name/no. (when name + freq ENABLE_KEEP_MEM_NAME := 1 maintain channel name when (re)saving memory channel ENABLE_WIDE_RX := 1 full 18MHz to 1300MHz RX (though front-end/PA not designed for full range) ENABLE_TX_WHEN_AM := 0 allow TX (always FM) when RX is set to AM -ENABLE_F_CAL_MENU := 0 enable/disable the radios hidden frequency calibration menu +ENABLE_F_CAL_MENU := 0 enable the radios hidden frequency calibration menu ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1 standard CTCSS tail phase shift rather than QS's own 55Hz tone method ENABLE_BOOT_BEEPS := 0 gives user audio feedback on volume knob position at boot-up ENABLE_SHOW_CHARGE_LEVEL := 0 show the charge level when the radio is on charge ENABLE_REVERSE_BAT_SYMBOL := 1 mirror the battery symbol on the status bar (+ pole on the right) -ENABLE_CODE_SCAN_TIMEOUT := 0 enable/disable 32-sec CTCSS/DCS scan timeout (press exit butt instead of time-out to end scan) +ENABLE_NO_CODE_SCAN_TIMEOUT := 1 disable 32-sec CTCSS/DCS scan timeout (press exit butt instead of time-out to end scan) ENABLE_AM_FIX := 1 dynamically adjust the front end gains when in AM mode to helo prevent AM demodulator saturation, ignore the on-screen RSSI level (for now) ENABLE_AM_FIX_SHOW_DATA := 1 show debug data for the AM fix (still tweaking it) ENABLE_SQUELCH_MORE_SENSITIVE := 0 make squelch levels a little bit more sensitive - I plan to let user adjust the values themselves diff --git a/app/app.c b/app/app.c index 7f1111b..901c6d9 100644 --- a/app/app.c +++ b/app/app.c @@ -1546,7 +1546,7 @@ void APP_TimeSlice500ms(void) if (disp == DISPLAY_INVALID) { -#ifndef ENABLE_CODE_SCAN_TIMEOUT +#ifndef ENABLE_NO_CODE_SCAN_TIMEOUT if (!SCANNER_IsScanning()) #endif disp = DISPLAY_MAIN; diff --git a/app/scanner.c b/app/scanner.c index 1daa8b6..7e6df5f 100644 --- a/app/scanner.c +++ b/app/scanner.c @@ -503,7 +503,7 @@ void SCANNER_TimeSlice500ms(void) { if (SCANNER_IsScanning() && gScannerSaveState == SCAN_SAVE_NO_PROMPT && gScanCssState < SCAN_CSS_STATE_FOUND) { gScanProgressIndicator++; -#ifdef ENABLE_CODE_SCAN_TIMEOUT +#ifdef ENABLE_NO_CODE_SCAN_TIMEOUT if (gScanProgressIndicator > 32) { if (gScanCssState == SCAN_CSS_STATE_SCANNING && !gScanSingleFrequency) gScanCssState = SCAN_CSS_STATE_FOUND;