Fix Power High action for RescueOps mode

This commit is contained in:
Armel FAUVEAU
2024-11-22 04:47:01 +01:00
parent dba1db3ea6
commit 91c95142c7
3 changed files with 12 additions and 20 deletions

View File

@@ -1202,6 +1202,14 @@ void UI_DisplayMain(void)
uint8_t arrowPos = 19;
bool userPower = false;
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
if(gResetPower) // RO is active
{
gInitialPower = currentPower;
gResetPower = false;
}
#endif
if(currentPower == OUTPUT_POWER_USER)
{
currentPower = gSetting_set_pwr;