feat(radio): Disable Special Functions when feature turned off (#4116)
This commit is contained in:
+5
-1
@@ -1079,7 +1079,11 @@ void evalMixes(uint8_t tick10ms)
|
||||
} else {
|
||||
globalFunctionsContext.reset();
|
||||
}
|
||||
evalFunctions(g_model.customFn, modelFunctionsContext);
|
||||
if (modelSFEnabled()) {
|
||||
evalFunctions(g_model.customFn, modelFunctionsContext);
|
||||
} else {
|
||||
modelFunctionsContext.reset();
|
||||
}
|
||||
}
|
||||
|
||||
//========== LIMITS ===============
|
||||
|
||||
Reference in New Issue
Block a user