mirror of https://github.com/ArduPilot/ardupilot
AntennaTracker: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
fd128066ad
commit
44920856d3
|
@ -456,7 +456,7 @@ const AP_Param::Info Tracker::var_info[] = {
|
|||
|
||||
GGROUP(pidYaw2Srv, "YAW2SRV_", AC_PID),
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
// @Group: SCR_
|
||||
// @Path: ../libraries/AP_Scripting/AP_Scripting.cpp
|
||||
GOBJECT(scripting, "SCR_", AP_Scripting),
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
#include "AP_Arming.h"
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
#include <AP_Scripting/AP_Scripting.h>
|
||||
#endif
|
||||
|
||||
|
@ -116,7 +116,7 @@ private:
|
|||
ModeServoTest mode_servotest;
|
||||
ModeStop mode_stop;
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
AP_Scripting scripting;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ void Tracker::init_ardupilot()
|
|||
log_init();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
scripting.init();
|
||||
#endif // ENABLE_SCRIPTING
|
||||
|
||||
|
|
Loading…
Reference in New Issue