mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 14:48:03 +03:00
Battery volt/percent now has menu setting instead of compile option
This commit is contained in:
1
board.c
1
board.c
@ -711,6 +711,7 @@ void BOARD_EEPROM_Init(void)
|
||||
gSetting_ScrambleEnable = (Data[6] < 2) ? Data[6] : true;
|
||||
gSetting_TX_EN = (Data[7] & (1u << 0)) ? true : false;
|
||||
gSetting_live_DTMF_decoder = (Data[7] & (1u << 1)) ? true : false;
|
||||
gSetting_battery_text = (((Data[7] >> 2) & 3u) <= 2) ? (Data[7] >> 2) & 3: 2;
|
||||
|
||||
if (!gEeprom.VFO_OPEN)
|
||||
{
|
||||
|
Reference in New Issue
Block a user