mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Airspeed: add date for parameter conversion code
This commit is contained in:
parent
1b0631669c
commit
f9580c0dfe
@ -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…
Reference in New Issue
Block a user