airspeed selector: remove redundant armed check (it already checks for in_air)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2022-10-07 11:46:11 +02:00 committed by Mathieu Bresciani
parent 0c4b2cd0c5
commit ebc883f157
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ AirspeedModule::Run()
_in_takeoff_situation = true;
}
input_data.in_fixed_wing_flight = (armed && in_air_fixed_wing && !_in_takeoff_situation);
input_data.in_fixed_wing_flight = (in_air_fixed_wing && !_in_takeoff_situation);
// push input data into airspeed validator
_airspeed_validator[i].update_airspeed_validator(input_data);