Option GUI=NO added
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user