diff --git a/AntennaTracker/Parameters.cpp b/AntennaTracker/Parameters.cpp index c33f55682d..c4bb65ffc2 100644 --- a/AntennaTracker/Parameters.cpp +++ b/AntennaTracker/Parameters.cpp @@ -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), diff --git a/AntennaTracker/Tracker.h b/AntennaTracker/Tracker.h index 3b3b43c98c..ea21fdace0 100644 --- a/AntennaTracker/Tracker.h +++ b/AntennaTracker/Tracker.h @@ -54,7 +54,7 @@ #include "AP_Arming.h" -#ifdef ENABLE_SCRIPTING +#if ENABLE_SCRIPTING #include #endif @@ -116,7 +116,7 @@ private: ModeServoTest mode_servotest; ModeStop mode_stop; -#ifdef ENABLE_SCRIPTING +#if ENABLE_SCRIPTING AP_Scripting scripting; #endif diff --git a/AntennaTracker/system.cpp b/AntennaTracker/system.cpp index f2fec9fc1d..72dd8a982a 100644 --- a/AntennaTracker/system.cpp +++ b/AntennaTracker/system.cpp @@ -32,7 +32,7 @@ void Tracker::init_ardupilot() log_init(); #endif -#ifdef ENABLE_SCRIPTING +#if ENABLE_SCRIPTING scripting.init(); #endif // ENABLE_SCRIPTING