Revert do not update battery level when TX
This commit is contained in:
@@ -1783,6 +1783,9 @@ void APP_TimeSlice500ms(void)
|
|||||||
|
|
||||||
// Skipped authentic device check
|
// Skipped authentic device check
|
||||||
|
|
||||||
|
if (gCurrentFunction != FUNCTION_TRANSMIT)
|
||||||
|
{
|
||||||
|
|
||||||
if ((gBatteryCheckCounter & 1) == 0)
|
if ((gBatteryCheckCounter & 1) == 0)
|
||||||
{
|
{
|
||||||
BOARD_ADC_GetBatteryInfo(&gBatteryVoltages[gBatteryVoltageIndex++], &gBatteryCurrent);
|
BOARD_ADC_GetBatteryInfo(&gBatteryVoltages[gBatteryVoltageIndex++], &gBatteryCurrent);
|
||||||
@@ -1802,8 +1805,6 @@ void APP_TimeSlice500ms(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gCurrentFunction != FUNCTION_TRANSMIT)
|
|
||||||
{
|
|
||||||
if (gCurrentFunction != FUNCTION_POWER_SAVE)
|
if (gCurrentFunction != FUNCTION_POWER_SAVE)
|
||||||
updateRSSI(gEeprom.RX_VFO);
|
updateRSSI(gEeprom.RX_VFO);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user