Revert do not update battery level when TX

This commit is contained in:
Krzysiek Egzmont
2023-10-09 16:57:52 +02:00
parent c7da7cf725
commit 149a0f5bdc

View File

@@ -1783,6 +1783,9 @@ void APP_TimeSlice500ms(void)
// Skipped authentic device check
if (gCurrentFunction != FUNCTION_TRANSMIT)
{
if ((gBatteryCheckCounter & 1) == 0)
{
BOARD_ADC_GetBatteryInfo(&gBatteryVoltages[gBatteryVoltageIndex++], &gBatteryCurrent);
@@ -1802,8 +1805,6 @@ void APP_TimeSlice500ms(void)
#endif
}
if (gCurrentFunction != FUNCTION_TRANSMIT)
{
if (gCurrentFunction != FUNCTION_POWER_SAVE)
updateRSSI(gEeprom.RX_VFO);