Improve new action for RescueOps

This commit is contained in:
Armel FAUVEAU
2024-11-23 07:05:04 +01:00
parent 3bad2a3b0f
commit 54d5c2fb68
5 changed files with 22 additions and 35 deletions

View File

@@ -1202,14 +1202,6 @@ 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;