diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.cpp b/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.cpp index e0bbe855cf..a64fad1e21 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.cpp +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.cpp @@ -1,4 +1,4 @@ -#if ENABLE_SCRIPTING +#if AP_SCRIPTING_ENABLED #include "AC_AttitudeControl_Multi_6DoF.h" #include @@ -160,4 +160,4 @@ void AC_AttitudeControl_Multi_6DoF::input_quaternion(Quaternion attitude_desired AC_AttitudeControl_Multi_6DoF *AC_AttitudeControl_Multi_6DoF::_singleton = nullptr; -#endif // ENABLE_SCRIPTING +#endif // AP_SCRIPTING_ENABLED diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.h b/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.h index b3096204c8..38ef83d71a 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl_Multi_6DoF.h @@ -1,5 +1,5 @@ #pragma once -#if ENABLE_SCRIPTING +#if AP_SCRIPTING_ENABLED #include "AC_AttitudeControl_Multi.h" @@ -94,4 +94,4 @@ private: }; -#endif // ENABLE_SCRIPTING +#endif // AP_SCRIPTING_ENABLED