mirror of https://github.com/ArduPilot/ardupilot
Plane: ICE to use ahrs singleton
This commit is contained in:
parent
79c78ba965
commit
c422a21f55
|
@ -1215,7 +1215,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
ParametersG2::ParametersG2(void) :
|
ParametersG2::ParametersG2(void) :
|
||||||
ice_control(plane.rpm_sensor, plane.ahrs)
|
ice_control(plane.rpm_sensor)
|
||||||
#if SOARING_ENABLED == ENABLED
|
#if SOARING_ENABLED == ENABLED
|
||||||
,soaring_controller(plane.ahrs, plane.TECS_controller, plane.aparm)
|
,soaring_controller(plane.ahrs, plane.TECS_controller, plane.aparm)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue