From 8899fd1270cd8d03d4ba27236fed29fb0396fcac Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Fri, 31 Oct 2008 14:05:46 +0000 Subject: [PATCH] Added support for compass bearings. --- src/parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/parser.h b/src/parser.h index c6a7625..8cfc01d 100644 --- a/src/parser.h +++ b/src/parser.h @@ -53,6 +53,7 @@ typedef enum parser_sample_type_t { SAMPLE_TYPE_EVENT, SAMPLE_TYPE_RBT, SAMPLE_TYPE_HEARTBEAT, + SAMPLE_TYPE_BEARING, SAMPLE_TYPE_VENDOR } parser_sample_type_t; @@ -111,6 +112,7 @@ typedef union parser_sample_value_t { } event; unsigned int rbt; unsigned int heartbeat; + unsigned int bearing; struct { unsigned int type; unsigned int size;