Plane: fixed AP_ICEngine constructor call

now uses singleton
This commit is contained in:
Andrew Tridgell 2023-05-13 08:37:58 +10:00
parent 383994c466
commit 1ecd943769
1 changed files with 1 additions and 4 deletions

View File

@ -1260,9 +1260,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
ParametersG2::ParametersG2(void) :
unused_integer{1}
#if AP_ICENGINE_ENABLED
,ice_control(plane.rpm_sensor)
#endif
#if HAL_SOARING_ENABLED
,soaring_controller(plane.TECS_controller, plane.aparm)
#endif
@ -1544,4 +1541,4 @@ void Plane::load_parameters(void)
#endif
hal.console->printf("load_all took %uus\n", (unsigned)(micros() - before));
}
}