From c090ddc65cb2851a83a71d79e5d2733a9a471f3d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Nov 2021 12:16:26 +1100 Subject: [PATCH] AP_Vehicle: ensure ENABLE_SCRIPTING is always defined --- libraries/AP_Vehicle/AP_Vehicle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Vehicle/AP_Vehicle.h b/libraries/AP_Vehicle/AP_Vehicle.h index bb07198010..24abc3f9d4 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.h +++ b/libraries/AP_Vehicle/AP_Vehicle.h @@ -188,7 +188,7 @@ public: // returns true if the vehicle has crashed virtual bool is_crashed() const; -#ifdef ENABLE_SCRIPTING +#if ENABLE_SCRIPTING /* methods to control vehicle for use by scripting */