1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 15:25:17 +03:00

Compilation fix

This commit is contained in:
bsongis 2014-12-16 21:53:56 +01:00
parent 38a639cef6
commit 8d812d5314

View file

@ -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);