Plane: fixed AP_ICEngine constructor call
now uses singleton
This commit is contained in:
parent
383994c466
commit
1ecd943769
@ -1260,9 +1260,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
|||||||
|
|
||||||
ParametersG2::ParametersG2(void) :
|
ParametersG2::ParametersG2(void) :
|
||||||
unused_integer{1}
|
unused_integer{1}
|
||||||
#if AP_ICENGINE_ENABLED
|
|
||||||
,ice_control(plane.rpm_sensor)
|
|
||||||
#endif
|
|
||||||
#if HAL_SOARING_ENABLED
|
#if HAL_SOARING_ENABLED
|
||||||
,soaring_controller(plane.TECS_controller, plane.aparm)
|
,soaring_controller(plane.TECS_controller, plane.aparm)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user