mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Revert BackLight Action and add 2 new buttons shortcuts
This commit is contained in:
1 parent
e4f26166fb
commit
fbbfbeb268
4 files changed
+28
-6
No files matched your search
+14
-1
@@ -528,7 +528,20 @@ void SETTINGS_SaveSettings(void)
|
||||
State[2] = gEeprom.CROSS_BAND_RX_TX;
|
||||
State[3] = gEeprom.BATTERY_SAVE;
|
||||
State[4] = gEeprom.DUAL_WATCH;
|
||||
State[5] = gEeprom.BACKLIGHT_TIME;
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
if(gBackLight)
|
||||
{
|
||||
State[5] = gBacklightTimeOriginal;
|
||||
}
|
||||
else
|
||||
{
|
||||
State[5] = gEeprom.BACKLIGHT_TIME;
|
||||
}
|
||||
#else
|
||||
State[5] = gEeprom.BACKLIGHT_TIME;
|
||||
#endif
|
||||
|
||||
State[6] = gEeprom.TAIL_TONE_ELIMINATION;
|
||||
State[7] = gEeprom.VFO_OPEN;
|
||||
EEPROM_WriteBuffer(0x0E78, State);
|
||||
|
||||
Reference in new issue
Block a user