Compilation fixes
This commit is contained in:
@@ -380,11 +380,13 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#if defined(PXX2)
|
||||||
case FUNC_RACING_MODE:
|
case FUNC_RACING_MODE:
|
||||||
if (isRacingModeEnabled()) {
|
if (isRacingModeEnabled()) {
|
||||||
newActiveFunctions |= (1u << FUNCTION_RACING_MODE);
|
newActiveFunctions |= (1u << FUNCTION_RACING_MODE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
case FUNC_TEST:
|
case FUNC_TEST:
|
||||||
|
|||||||
@@ -184,6 +184,7 @@ inline uint8_t MODULE_CHANNELS_ROWS(int moduleIdx)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(PXX2)
|
||||||
inline bool isRacingModeAllowed()
|
inline bool isRacingModeAllowed()
|
||||||
{
|
{
|
||||||
return isModulePXX2(INTERNAL_MODULE) && g_model.moduleData[INTERNAL_MODULE].getChannelsCount() == 8;
|
return isModulePXX2(INTERNAL_MODULE) && g_model.moduleData[INTERNAL_MODULE].getChannelsCount() == 8;
|
||||||
@@ -204,6 +205,7 @@ inline uint8_t IF_ALLOW_RACING_MODE(int moduleIdx)
|
|||||||
}
|
}
|
||||||
return HIDDEN_ROW;
|
return HIDDEN_ROW;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MULTIMODULE)
|
#if defined(MULTIMODULE)
|
||||||
inline uint8_t MULTI_DISABLE_CHAN_MAP_ROW(uint8_t moduleIdx)
|
inline uint8_t MULTI_DISABLE_CHAN_MAP_ROW(uint8_t moduleIdx)
|
||||||
|
|||||||
Reference in New Issue
Block a user