mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-29 14:51:26 +03:00
Menu text update
This commit is contained in:
parent
92bf3ccf57
commit
d1c7d5beb6
4
Makefile
4
Makefile
@ -30,6 +30,7 @@ ENABLE_SHOW_CHARGE_LEVEL := 0
|
||||
ENABLE_REVERSE_BAT_SYMBOL := 1
|
||||
ENABLE_CODE_SCAN_TIMEOUT := 0
|
||||
ENABLE_FREQ_CODE_SCAN_TIMEOUT := 1
|
||||
ENABLE_FREQ_CODE_ROUNDING := 0
|
||||
ENABLE_AM_FIX := 1
|
||||
ENABLE_AM_FIX_SHOW_DATA := 1
|
||||
ENABLE_SQUELCH_MORE_SENSITIVE := 1
|
||||
@ -307,6 +308,9 @@ endif
|
||||
ifeq ($(ENABLE_FREQ_CODE_SCAN_TIMEOUT),1)
|
||||
CFLAGS += -DENABLE_FREQ_CODE_SCAN_TIMEOUT
|
||||
endif
|
||||
ifeq ($(ENABLE_FREQ_CODE_ROUNDING),1)
|
||||
CFLAGS += -DENABLE_FREQ_CODE_ROUNDING
|
||||
endif
|
||||
ifeq ($(ENABLE_AM_FIX),1)
|
||||
CFLAGS += -DENABLE_AM_FIX
|
||||
endif
|
||||
|
@ -57,6 +57,7 @@ ENABLE_SHOW_CHARGE_LEVEL := 0 show the charge level when the radio is
|
||||
ENABLE_REVERSE_BAT_SYMBOL := 1 mirror the battery symbol on the status bar (+ pole on the right)
|
||||
ENABLE_CODE_SCAN_TIMEOUT := 0 timeout if CTCSS/CDCSS is not found
|
||||
ENABLE_FREQ_CODE_SCAN_TIMEOUT := 1 timeout if CTCSS/CDCSS is not found after a successful frequency scan
|
||||
ENABLE_FREQ_CODE_ROUNDING := 0 rounds the detected RF frequency to the nearest step size in use - F+4 scan mode
|
||||
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 := 1 make squelch levels a little bit more sensitive - I plan to let user adjust the values themselves
|
||||
|
@ -1673,13 +1673,13 @@ void APP_TimeSlice10ms(void)
|
||||
|
||||
BK4819_DisableFrequencyScan();
|
||||
|
||||
#if 0
|
||||
g_scan_frequency = Result;
|
||||
#else
|
||||
#ifdef ENABLE_FREQ_CODE_ROUNDING
|
||||
{ // round to nearest step multiple
|
||||
const uint32_t step = STEP_FREQ_TABLE[g_step_setting];
|
||||
g_scan_frequency = ((Result + (step / 2)) / step) * step;
|
||||
}
|
||||
#else
|
||||
g_scan_frequency = Result;
|
||||
#endif
|
||||
|
||||
if (g_scan_hit_count < 3)
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user