From 92d975e6683c702b5eb977aac2dab0043fc295b7 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Tue, 24 Jul 2012 03:44:35 -0500 Subject: [PATCH] Reduce the UAVTalk type mask to allow the top byte flag to indicate if there is a timestamp --- flight/UAVTalk/inc/uavtalk_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/UAVTalk/inc/uavtalk_priv.h b/flight/UAVTalk/inc/uavtalk_priv.h index e12df0fcf..ba107e970 100644 --- a/flight/UAVTalk/inc/uavtalk_priv.h +++ b/flight/UAVTalk/inc/uavtalk_priv.h @@ -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)