From d7357a333033d15d76539115c065656416ba38f3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 8 Dec 2022 17:55:47 +1100 Subject: [PATCH] AP_Airspeed: add get_calibration_state in dummy driver --- libraries/AP_Airspeed/AP_Airspeed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Airspeed/AP_Airspeed.cpp b/libraries/AP_Airspeed/AP_Airspeed.cpp index 3460ecc8c6..bdbe630631 100644 --- a/libraries/AP_Airspeed/AP_Airspeed.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed.cpp @@ -893,6 +893,7 @@ const AP_Param::GroupInfo AP_Airspeed::var_info[] = { AP_GROUPEND }; void AP_Airspeed::update() {}; bool AP_Airspeed::get_temperature(uint8_t i, float &temperature) { return false; } void AP_Airspeed::calibrate(bool in_startup) {} +AP_Airspeed::CalibrationState AP_Airspeed::get_calibration_state() const { return CalibrationState::NOT_STARTED; } bool AP_Airspeed::use(uint8_t i) const { return false; } bool AP_Airspeed::enabled(uint8_t i) const { return false; } bool AP_Airspeed::healthy(uint8_t i) const { return false; }