mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-28 04:38:55 +08:00
AP_Scripting: allow AP_SCRIPTING_ENABLED to come from hwdef files
This commit is contained in:
1 parent
3aaeb0f29c
commit
d519ab604e
9 files changed
+59
-1
No files matched your search
@@ -13,6 +13,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AP_Scripting_config.h"
|
||||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
#include <AP_Scripting/AP_Scripting.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
@@ -364,3 +368,5 @@ namespace AP {
|
||||
return AP_Scripting::get_singleton();
|
||||
}
|
||||
}
|
||||
|
||||
#endif // AP_SCRIPTING_ENABLED
|
||||
Reference in new issue
Block a user