Skip to content

Commit

Permalink
Fix defines for gimbal_mavlink and sitl target
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jul 23, 2024
1 parent 86122f2 commit 138f5aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/io/gimbal_mavlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "platform.h"

#ifdef USE_GIMBAL_SERIAL
#ifdef USE_GIMBAL_MAVLINK

#include <common/crc.h>
#include <common/utils.h>
Expand Down
4 changes: 3 additions & 1 deletion src/main/target/SITL/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 138f5aa

Please sign in to comment.