diff --git a/libraries/AP_Baro/AP_Baro_MS5611.cpp b/libraries/AP_Baro/AP_Baro_MS5611.cpp index 03386f3612..81b4933c48 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.cpp +++ b/libraries/AP_Baro/AP_Baro_MS5611.cpp @@ -176,6 +176,8 @@ void AP_Baro_MS5611::_update(uint32_t tnow) "100 times in AP_Baro_MS5611::_update")); } return; + } else { + semfail_ctr = 0; } }