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_REVERSE_BAT_SYMBOL := 1
|
||||||
ENABLE_CODE_SCAN_TIMEOUT := 0
|
ENABLE_CODE_SCAN_TIMEOUT := 0
|
||||||
ENABLE_FREQ_CODE_SCAN_TIMEOUT := 1
|
ENABLE_FREQ_CODE_SCAN_TIMEOUT := 1
|
||||||
|
ENABLE_FREQ_CODE_ROUNDING := 0
|
||||||
ENABLE_AM_FIX := 1
|
ENABLE_AM_FIX := 1
|
||||||
ENABLE_AM_FIX_SHOW_DATA := 1
|
ENABLE_AM_FIX_SHOW_DATA := 1
|
||||||
ENABLE_SQUELCH_MORE_SENSITIVE := 1
|
ENABLE_SQUELCH_MORE_SENSITIVE := 1
|
||||||
@ -307,6 +308,9 @@ endif
|
|||||||
ifeq ($(ENABLE_FREQ_CODE_SCAN_TIMEOUT),1)
|
ifeq ($(ENABLE_FREQ_CODE_SCAN_TIMEOUT),1)
|
||||||
CFLAGS += -DENABLE_FREQ_CODE_SCAN_TIMEOUT
|
CFLAGS += -DENABLE_FREQ_CODE_SCAN_TIMEOUT
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ENABLE_FREQ_CODE_ROUNDING),1)
|
||||||
|
CFLAGS += -DENABLE_FREQ_CODE_ROUNDING
|
||||||
|
endif
|
||||||
ifeq ($(ENABLE_AM_FIX),1)
|
ifeq ($(ENABLE_AM_FIX),1)
|
||||||
CFLAGS += -DENABLE_AM_FIX
|
CFLAGS += -DENABLE_AM_FIX
|
||||||
endif
|
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_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_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_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 := 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_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
|
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();
|
BK4819_DisableFrequencyScan();
|
||||||
|
|
||||||
#if 0
|
#ifdef ENABLE_FREQ_CODE_ROUNDING
|
||||||
g_scan_frequency = Result;
|
|
||||||
#else
|
|
||||||
{ // round to nearest step multiple
|
{ // round to nearest step multiple
|
||||||
const uint32_t step = STEP_FREQ_TABLE[g_step_setting];
|
const uint32_t step = STEP_FREQ_TABLE[g_step_setting];
|
||||||
g_scan_frequency = ((Result + (step / 2)) / step) * step;
|
g_scan_frequency = ((Result + (step / 2)) / step) * step;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
g_scan_frequency = Result;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (g_scan_hit_count < 3)
|
if (g_scan_hit_count < 3)
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -674,7 +674,10 @@ void UI_DisplayMenu(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
case MENU_AUTOLK:
|
case MENU_AUTOLK:
|
||||||
strcpy(String, (g_sub_menu_selection == 0) ? "OFF" : "AUTO");
|
if (g_sub_menu_selection == 0)
|
||||||
|
strcpy(String, "OFF");
|
||||||
|
else
|
||||||
|
sprintf(String, "%u secs", key_lock_timeout_500ms / 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_COMPAND:
|
case MENU_COMPAND:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user