mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Battery volt/percent now has menu setting instead of compile option
This commit is contained in:
1 parent
93f6866c87
commit
0b676d29e3
16 files changed
+181
-118
No files matched your search
@@ -172,6 +172,7 @@ void SETTINGS_SaveSettings(void)
|
||||
State[6] = gSetting_ScrambleEnable;
|
||||
if (!gSetting_TX_EN) State[7] &= ~(1u << 0);
|
||||
if (!gSetting_live_DTMF_decoder) State[7] &= ~(1u << 1);
|
||||
State[7] = (State[7] & ~(3u << 2)) | ((gSetting_battery_text & 3u) << 2);
|
||||
EEPROM_WriteBuffer(0x0F40, State);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user