projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools/ao-eeprom: Add support for TeleMega v5.0
[fw/altos]
/
ao-tools
/
lib
/
cc-telemetry.h
diff --git
a/ao-tools/lib/cc-telemetry.h
b/ao-tools/lib/cc-telemetry.h
index 256af3a116532b12af68e5537c44c78cf655d44e..25576fca59252488384a12ecc8c70caacd669829 100644
(file)
--- a/
ao-tools/lib/cc-telemetry.h
+++ b/
ao-tools/lib/cc-telemetry.h
@@
-160,8
+160,9
@@
struct ao_telemetry_companion {
uint16_t companion_data[AO_COMPANION_MAX_CHANNELS]; /* 8 */
/* 32 */
};
uint16_t companion_data[AO_COMPANION_MAX_CHANNELS]; /* 8 */
/* 32 */
};
-
-#define AO_TELEMETRY_MEGA_SENSOR 0x08
+
+#define AO_TELEMETRY_MEGA_SENSOR_MPU 0x08 /* Invensense IMU */
+#define AO_TELEMETRY_MEGA_SENSOR_BMX160 0x12 /* BMX160 IMU */
struct ao_telemetry_mega_sensor {
uint16_t serial; /* 0 */
struct ao_telemetry_mega_sensor {
uint16_t serial; /* 0 */