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

Removed constrain min and max as they are unnecessary

This commit is contained in:
Darren Lines 2022-02-07 08:30:56 +00:00
parent bdc83e4e0e
commit 2f00540c60
3 changed files with 5 additions and 17 deletions

View file

@ -304,14 +304,6 @@ static int logicConditionCompute(
return tan_approx(DEGREES_TO_RADIANS(operandA)) * temporaryValue;
break;
case LOGIC_CONDITION_CONSTRAIN_MIN:
return (operandA < operandB) ? operandB : operandA;
break;
case LOGIC_CONDITION_CONSTRAIN_MAX:
return (operandA > operandB) ? operandB : operandA;
break;
case LOGIC_CONDITION_MIN:
return (operandA < operandB) ? operandA : operandB;
break;