1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

Option GUI=NO added

This commit is contained in:
bsongis 2015-01-21 22:41:43 +01:00
parent f8aa77a82d
commit c0c9b5ae83
5 changed files with 33 additions and 7 deletions

View file

@ -311,6 +311,7 @@ void evalFunctions()
case FUNC_INSTANT_TRIM:
newActiveFunctions |= (1 << FUNCTION_INSTANT_TRIM);
if (!isFunctionActive(FUNCTION_INSTANT_TRIM)) {
#if defined(GUI)
if (g_menuStack[0] == menuMainView
#if defined(FRSKY)
|| g_menuStack[0] == menuTelemetryFrsky
@ -319,7 +320,9 @@ void evalFunctions()
|| g_menuStack[0] == menuMainViewChannelsMonitor
|| g_menuStack[0] == menuChannelsView
#endif
) {
)
#endif
{
instantTrim();
}
}