mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 07:53:34 +08:00
Do not perform retries in airspeed driver - this is too much load for the HRT queue
This commit is contained in:
@@ -165,7 +165,7 @@ Airspeed::probe()
|
|||||||
*/
|
*/
|
||||||
_retries = 4;
|
_retries = 4;
|
||||||
int ret = measure();
|
int ret = measure();
|
||||||
_retries = 2;
|
_retries = 0;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -364,7 +364,6 @@ Airspeed::update_status()
|
|||||||
_sensor_ok,
|
_sensor_ok,
|
||||||
SUBSYSTEM_TYPE_DIFFPRESSURE
|
SUBSYSTEM_TYPE_DIFFPRESSURE
|
||||||
};
|
};
|
||||||
warnx("airspeed ok state changed");
|
|
||||||
|
|
||||||
if (_subsys_pub > 0) {
|
if (_subsys_pub > 0) {
|
||||||
orb_publish(ORB_ID(subsystem_info), _subsys_pub, &info);
|
orb_publish(ORB_ID(subsystem_info), _subsys_pub, &info);
|
||||||
|
|||||||
Reference in New Issue
Block a user