summaryrefslogtreecommitdiff
path: root/ao-tools/lib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-04-30 22:11:39 -0700
committerKeith Packard <keithp@keithp.com>2014-04-30 22:11:39 -0700
commitfd406000659a11862e05c22dbb20cdb738f56b01 (patch)
treed55b7b6622195a5ee7339c3ece9993acbe9b3982 /ao-tools/lib
parent2cf65d60e1c73dbff0badbe1ee6cb43d75bf803c (diff)
ao-telem: Dump orientation field from TeleMega sensor telemetry packet
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib')
-rw-r--r--ao-tools/lib/cc-telemetry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/lib/cc-telemetry.h b/ao-tools/lib/cc-telemetry.h
index c28aceb8..d64c4b30 100644
--- a/ao-tools/lib/cc-telemetry.h
+++ b/ao-tools/lib/cc-telemetry.h
@@ -157,7 +157,7 @@ struct ao_telemetry_mega_sensor {
uint16_t tick; /* 2 */
uint8_t type; /* 4 */
- uint8_t pad5; /* 5 */
+ uint8_t orient; /* 5 angle from vertical */
int16_t accel; /* 6 Z axis */
int32_t pres; /* 8 Pa * 10 */