mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Compilation fix
This commit is contained in:
parent
38a639cef6
commit
8d812d5314
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,7 @@ void menuModelSetup(uint8_t event)
|
|||
switch (m_posHorz) {
|
||||
case 0:
|
||||
CHECK_INCDEC_MODELVAR_CHECK(event, timer->mode, SWSRC_FIRST, TMRMODE_COUNT+SWSRC_LAST-1/*SWSRC_None removed*/, isSwitchAvailableInTimers);
|
||||
#if defined(AUTOSWITCH)
|
||||
if (s_editMode>0) {
|
||||
int8_t val = timer->mode - (TMRMODE_COUNT-1);
|
||||
int8_t switchVal = checkIncDecMovedSwitch(val);
|
||||
|
@ -293,6 +294,7 @@ void menuModelSetup(uint8_t event)
|
|||
eeDirty(EE_MODEL);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case 1:
|
||||
CHECK_INCDEC_MODELVAR_ZERO(event, qr.quot, 59);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue