From 1ecd9437690011dc4bf091674d6acdfa745f043f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 13 May 2023 08:37:58 +1000 Subject: [PATCH] Plane: fixed AP_ICEngine constructor call now uses singleton --- ArduPlane/Parameters.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ArduPlane/Parameters.cpp b/ArduPlane/Parameters.cpp index 918c7925df..583bb5b808 100644 --- a/ArduPlane/Parameters.cpp +++ b/ArduPlane/Parameters.cpp @@ -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)); -} \ No newline at end of file +}