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:
parent
f8aa77a82d
commit
c0c9b5ae83
5 changed files with 33 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue