mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Airspeed: increased DroneCAN airspeed timeout
This commit is contained in:
parent
a7dff69f8f
commit
c024c58486
@ -172,7 +172,7 @@ bool AP_Airspeed_UAVCAN::get_differential_pressure(float &pressure)
|
|||||||
{
|
{
|
||||||
WITH_SEMAPHORE(_sem_airspeed);
|
WITH_SEMAPHORE(_sem_airspeed);
|
||||||
|
|
||||||
if ((AP_HAL::millis() - _last_sample_time_ms) > 100) {
|
if ((AP_HAL::millis() - _last_sample_time_ms) > 250) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user