mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:27:34 +08:00
Merge remote-tracking branch 'upstream/master' into fw_autoland_att_tecs
This commit is contained in:
@@ -526,7 +526,6 @@ FixedwingPositionControl::vehicle_airspeed_poll()
|
||||
orb_copy(ORB_ID(airspeed), _airspeed_sub, &_airspeed);
|
||||
_airspeed_valid = true;
|
||||
_airspeed_last_valid = hrt_absolute_time();
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
||||
@@ -539,7 +538,7 @@ FixedwingPositionControl::vehicle_airspeed_poll()
|
||||
/* update TECS state */
|
||||
_tecs.enable_airspeed(_airspeed_valid);
|
||||
|
||||
return false;
|
||||
return airspeed_updated;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user