Browse Source

AP_Airspeed: add date for parameter conversion code

gps-1.3.1
Peter Barker 3 years ago committed by Peter Hall
parent
commit
f9580c0dfe
  1. 1
      libraries/AP_Airspeed/AP_Airspeed.cpp

1
libraries/AP_Airspeed/AP_Airspeed.cpp

@ -337,6 +337,7 @@ void AP_Airspeed::init() @@ -337,6 +337,7 @@ void AP_Airspeed::init()
#ifndef HAL_BUILD_AP_PERIPH
// Switch to dedicated WIND_MAX param
// PARAMETER_CONVERSION - Added: Oct-2020
const float ahrs_max_wind = AP::ahrs().get_max_wind();
if (!_wind_max.configured() && is_positive(ahrs_max_wind)) {
_wind_max.set_and_save(ahrs_max_wind);

Loading…
Cancel
Save