diff --git a/src/main/io/gimbal_mavlink.c b/src/main/io/gimbal_mavlink.c index 87e8a9b5884..0876595b7dd 100644 --- a/src/main/io/gimbal_mavlink.c +++ b/src/main/io/gimbal_mavlink.c @@ -22,7 +22,7 @@ #include "platform.h" -#ifdef USE_GIMBAL_SERIAL +#ifdef USE_GIMBAL_MAVLINK #include #include diff --git a/src/main/target/SITL/target.h b/src/main/target/SITL/target.h index f6d80f74971..be8fbff3e3f 100644 --- a/src/main/target/SITL/target.h +++ b/src/main/target/SITL/target.h @@ -74,7 +74,9 @@ #define USE_MSP_OSD #define USE_OSD -#define USE_SERIAL_GIMBAL +#define USE_GIMBAL +#define USE_GIMBAL_SERIAL +#define USE_GIMBAL_MAVLINK #define USE_HEADTRACKER #define USE_HEADTRACKER_SERIAL #define USE_HEADTRACKER_MSP