Skip to content

Commit

Permalink
Disable MixerScriptsPage of both required flags are not set (#879)
Browse files Browse the repository at this point in the history
* Disable MixerScriptsPage for 2.5 release builds
Since it doesn't work anyway without LUA=Y

* Only enable tab when both flags set
  • Loading branch information
pfeerick authored Oct 7, 2021
1 parent 6656217 commit 152cca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/menu_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ModelMenu::ModelMenu():
addTab(new ModelGVarsPage());
addTab(new ModelLogicalSwitchesPage());
addTab(new SpecialFunctionsPage(g_model.customFn));
#if defined(LUA)
#if defined(LUA) && defined(LUA_MODEL_SCRIPTS)
addTab(new ModelMixerScriptsPage());
#endif
addTab(new ModelTelemetryPage());
Expand Down

0 comments on commit 152cca2

Please sign in to comment.