mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
.
This commit is contained in:
parent
e3f10d5409
commit
fd680325ef
2
Makefile
2
Makefile
@ -53,7 +53,7 @@ ENABLE_F_CAL_MENU := 0
|
|||||||
ENABLE_TX_UNLOCK_MENU := 0
|
ENABLE_TX_UNLOCK_MENU := 0
|
||||||
#ENABLE_TX_POWER_CAL_MENU := 0
|
#ENABLE_TX_POWER_CAL_MENU := 0
|
||||||
ENABLE_TX_POWER_FIX := 1
|
ENABLE_TX_POWER_FIX := 1
|
||||||
ENABLE_TX_POWER_LOW_USER := 1
|
ENABLE_TX_POWER_LOW_USER := 0
|
||||||
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
|
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
|
||||||
ENABLE_CONTRAST := 0
|
ENABLE_CONTRAST := 0
|
||||||
ENABLE_BOOT_BEEPS := 0
|
ENABLE_BOOT_BEEPS := 0
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
20
settings.c
20
settings.c
@ -114,6 +114,26 @@ void SETTINGS_read_eeprom(void)
|
|||||||
sizeof(g_eeprom), sizeof(g_eeprom));
|
sizeof(g_eeprom), sizeof(g_eeprom));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 1
|
||||||
|
// channel sanity checks ..
|
||||||
|
for (index = 0; index < ARRAY_SIZE(g_eeprom.config.channel); index++)
|
||||||
|
{
|
||||||
|
// if (g_eeprom.config.channel_attributes[index].band <= BAND7_470MHz)
|
||||||
|
{ // used channel
|
||||||
|
|
||||||
|
if (g_eeprom.config.channel[index].mod_mode == 3)
|
||||||
|
g_eeprom.config.channel[index].mod_mode = 0;
|
||||||
|
|
||||||
|
#ifdef ENABLE_TX_POWER_LOW_USER
|
||||||
|
if (g_eeprom.config.channel[index].tx_power_user == 0)
|
||||||
|
g_eeprom.config.channel[index].tx_power_user = 9;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// sanity checks ..
|
// sanity checks ..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user