diff --git a/libraries/AC_CustomControl/AC_CustomControl_Backend.h b/libraries/AC_CustomControl/AC_CustomControl_Backend.h index 391353585a..10dfb4b41b 100644 --- a/libraries/AC_CustomControl/AC_CustomControl_Backend.h +++ b/libraries/AC_CustomControl/AC_CustomControl_Backend.h @@ -10,10 +10,10 @@ class AC_CustomControl_Backend { public: AC_CustomControl_Backend(AC_CustomControl& frontend, AP_AHRS_View*& ahrs, AC_AttitudeControl*& att_control, AP_MotorsMulticopter*& motors, float dt) : - _frontend(frontend), _ahrs(ahrs), _att_control(att_control), - _motors(motors) + _motors(motors), + _frontend(frontend) {} // empty destructor to suppress compiler warning