mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Fix Power High action for RescueOps mode
This commit is contained in:
1 parent
dba1db3ea6
commit
91c95142c7
3 files changed
+12
-20
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user