From a6cda46de31593f50f7aae4ffd1b2a7cb6e22cb6 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 1 Aug 2024 13:13:32 +1000 Subject: [PATCH] Plane: stop using ENABLED against OSD_ENABLED it uses 1 in AP_OSD_config.h --- ArduPlane/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index dafe5e8bd7..d27491ff21 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -57,7 +57,7 @@ void Plane::init_ardupilot() gcs().setup_uarts(); -#if OSD_ENABLED == ENABLED +#if OSD_ENABLED osd.init(); #endif