AP_Airspeed: add date for parameter conversion code

This commit is contained in:
Peter Barker 2021-11-23 16:33:31 +11:00 committed by Peter Hall
parent 1b0631669c
commit f9580c0dfe

View File

@ -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);