Skip to content

Commit

Permalink
Add version header, in case we want to expand it in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jun 14, 2024
1 parent b6ebb96 commit 29a2d69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/io/headtracker_msp.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "drivers/headtracker_common.h"

typedef struct headtrackerMspMessage_s {
uint8_t version; // 0
int16_t pan; // -2048~2047. Scale is min/max angle for gimbal
int16_t tilt; // -2048~2047. Scale is min/max angle for gimbal
int16_t roll; // -2048~2047. Scale is min/max angle for gimbal
Expand All @@ -38,4 +39,4 @@ void mspHeadTrackerInit(void);

void mspHeadTrackerReceiverNewData(uint8_t *data, int dataSize);

#endif
#endif

0 comments on commit 29a2d69

Please sign in to comment.