Compilation fixes
This commit is contained in:
@@ -380,11 +380,13 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext
|
||||
}
|
||||
break;
|
||||
|
||||
#if defined(PXX2)
|
||||
case FUNC_RACING_MODE:
|
||||
if (isRacingModeEnabled()) {
|
||||
newActiveFunctions |= (1u << FUNCTION_RACING_MODE);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG)
|
||||
case FUNC_TEST:
|
||||
|
||||
@@ -184,6 +184,7 @@ inline uint8_t MODULE_CHANNELS_ROWS(int moduleIdx)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(PXX2)
|
||||
inline bool isRacingModeAllowed()
|
||||
{
|
||||
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;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MULTIMODULE)
|
||||
inline uint8_t MULTI_DISABLE_CHAN_MAP_ROW(uint8_t moduleIdx)
|
||||
|
||||
Reference in New Issue
Block a user