AC_AttitudeControl: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED

This commit is contained in:
Peter Barker 2021-11-15 16:08:25 +11:00 committed by Peter Barker
parent 32374d1614
commit 8e15bf09a6
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#if ENABLE_SCRIPTING
#if AP_SCRIPTING_ENABLED
#include "AC_AttitudeControl_Multi_6DoF.h"
#include <AP_HAL/AP_HAL.h>
@ -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

View File

@ -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