From d48b95c4a784539002dfa59c8ddda48281f88d66 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Aug 2023 14:04:00 +1000 Subject: [PATCH] AP_Airspeed: increased DroneCAN airspeed timeout --- libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp b/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp index deea83c2aa..ec72d8e63f 100644 --- a/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp @@ -172,7 +172,7 @@ bool AP_Airspeed_UAVCAN::get_differential_pressure(float &pressure) { WITH_SEMAPHORE(_sem_airspeed); - if ((AP_HAL::millis() - _last_sample_time_ms) > 100) { + if ((AP_HAL::millis() - _last_sample_time_ms) > 250) { return false; }