1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

Reduce the UAVTalk type mask to allow the top byte flag to indicate if there is

a timestamp
This commit is contained in:
James Cotton 2012-07-24 03:44:35 -05:00
parent 4809d569c0
commit 92d975e668

View File

@ -91,7 +91,7 @@ typedef struct {
#define UAVTALK_WAITFOREVER -1
#define UAVTALK_NOWAIT 0
#define UAVTALK_SYNC_VAL 0x3C
#define UAVTALK_TYPE_MASK 0xF8
#define UAVTALK_TYPE_MASK 0x78
#define UAVTALK_TYPE_VER 0x20
#define UAVTALK_TIMESTAMPED 0x80
#define UAVTALK_TYPE_OBJ (UAVTALK_TYPE_VER | 0x00)