mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-15 04:15:38 +03:00
Rename pitotCalculateAirSpeed
This commit is contained in:
parent
1b003cc861
commit
9b5106aafe
17 changed files with 32 additions and 30 deletions
|
@ -504,7 +504,7 @@ static int logicConditionGetFlightOperandValue(int operand) {
|
|||
|
||||
case LOGIC_CONDITION_OPERAND_FLIGHT_AIR_SPEED: // cm/s
|
||||
#ifdef USE_PITOT
|
||||
return constrain(pitot.airSpeed, 0, INT16_MAX);
|
||||
return constrain(getAirspeedEstimate(), 0, INT16_MAX);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue