ttwrplus: disable low battery warning
T-TWR Plus appears to have sever voltage drops during normal operation, therefore we cannot use OpenRTX's low voltage warning screen on this radio. TG-553
This commit is contained in:
parent
ad1beffcf3
commit
a72f8387ad
|
|
@ -1259,6 +1259,7 @@ void ui_updateFSM(bool *sync_rtx)
|
|||
// drop caused by the RF PA power absorption causes spurious triggers of
|
||||
// the low battery alert.
|
||||
bool txOngoing = platform_getPttStatus();
|
||||
#if !defined(PLATFORM_TTWRPLUS)
|
||||
if ((!state.emergency) && (!txOngoing) && (state.charge <= 0))
|
||||
{
|
||||
state.ui_screen = LOW_BAT;
|
||||
|
|
@ -1269,6 +1270,7 @@ void ui_updateFSM(bool *sync_rtx)
|
|||
}
|
||||
return;
|
||||
}
|
||||
#endif // PLATFORM_TTWRPLUS
|
||||
|
||||
long long now = getTick();
|
||||
// Process pressed keys
|
||||
|
|
|
|||
Loading…
Reference in New Issue