mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 14:48:03 +03:00
Forgot to remove unrequired batcal code
This commit is contained in:
11
app/menu.c
11
app/menu.c
@ -1098,7 +1098,7 @@ void MENU_ShowCurrentSetting(void)
|
||||
case MENU_BATCAL:
|
||||
gSubMenuSelection = gBatteryCalibration[3];
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
@ -1289,15 +1289,6 @@ static void MENU_Key_EXIT(bool bKeyPressed, bool bKeyHeld)
|
||||
// ***********************
|
||||
// restore original value
|
||||
|
||||
if (gMenuCursor == MENU_BATCAL)
|
||||
{
|
||||
if (gF_LOCK)
|
||||
{
|
||||
EEPROM_ReadBuffer(0x1F40, gBatteryCalibration, 8);
|
||||
BATTERY_GetReadings(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
if (gMenuCursor == MENU_F_CALI)
|
||||
{
|
||||
// if (gF_LOCK)
|
||||
|
Reference in New Issue
Block a user