Telemetry sources removed from the Reset Global Function

This commit is contained in:
bsongis
2015-07-21 19:22:19 +02:00
parent 370728433a
commit 29e9039176
4 changed files with 13 additions and 4 deletions
+9 -1
View File
@@ -353,7 +353,15 @@ bool isAssignableFunctionAvailable(int function)
}
}
bool isAvailableInResetSpecialFunction(int index)
bool isSourceAvailableInGlobalResetSpecialFunction(int index)
{
if (index >= FUNC_RESET_PARAM_FIRST_TELEM)
return false;
else
return isSourceAvailableInResetSpecialFunction(index);
}
bool isSourceAvailableInResetSpecialFunction(int index)
{
if (index >= FUNC_RESET_PARAM_FIRST_TELEM) {
TelemetrySensor & telemetrySensor = g_model.telemetrySensors[index-FUNC_RESET_PARAM_FIRST_TELEM];