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:
parent
bdc83e4e0e
commit
2f00540c60
3 changed files with 5 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue