Plane: AP_Soaring no longer takes AHRS in constructor

This commit is contained in:
Peter Barker 2020-05-05 14:52:53 +10:00 committed by Andrew Tridgell
parent 69093aa7b1
commit 8222b5db62
1 changed files with 1 additions and 1 deletions

View File

@ -1277,7 +1277,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
ParametersG2::ParametersG2(void) :
ice_control(plane.rpm_sensor)
#if SOARING_ENABLED == ENABLED
,soaring_controller(plane.ahrs, plane.TECS_controller, plane.aparm)
,soaring_controller(plane.TECS_controller, plane.aparm)
#endif
,button_ptr(&plane.button)
{