Merge pull request #8156 from opentx/elecpower/SF_Set_Failsafe

Remove module choice from special function set failsafe
This commit is contained in:
Bertrand Songis
2020-12-18 18:26:25 +01:00
committed by GitHub
6 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ void CustomFunctionsPanel::refreshCustomFunction(int i, bool modified)
fswtchParamTime[i]->setTime(cfn.param);
widgetsMask |= CUSTOM_FUNCTION_TIME_PARAM | CUSTOM_FUNCTION_ENABLE;
}
else if (func >= FuncSetFailsafeInternalModule && func <= FuncBindExternalModule) {
else if (func >= FuncSetFailsafe && func <= FuncBindExternalModule) {
widgetsMask |= CUSTOM_FUNCTION_ENABLE;
}
else if (func == FuncVolume || func == FuncBacklight) {