1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-14 20:10:15 +03:00

Renamed PID Profiles to Profiles

This commit is contained in:
Darren Lines 2021-09-16 09:35:19 +01:00
parent 282ac5b1aa
commit 0f9c6cd8df
2 changed files with 4 additions and 4 deletions

View file

@ -334,7 +334,7 @@ static int logicConditionCompute(
}
break;
case LOGIC_CONDITION_SET_PID_PROFILE:
case LOGIC_CONDITION_SET_PROFILE:
operandA--;
if ( getConfigProfile() != operandA && (operandA >= 0 && operandA < MAX_PROFILE_COUNT)) {
bool profileChanged = false;
@ -549,7 +549,7 @@ static int logicConditionGetFlightOperandValue(int operand) {
#endif
break;
case LOGIC_CONDITION_OPERAND_FLIGHT_PID_PROFILE: // int
case LOGIC_CONDITION_OPERAND_FLIGHT_ACTIVE_PROFILE: // int
return getConfigProfile() + 1;
break;