0
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:
OneOfEleven
2023-10-02 01:44:33 +01:00
parent 58eced120e
commit aafc93c2ee
5 changed files with 32 additions and 54 deletions

View File

@ -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)