projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Calibrate IMU accelerometers too
[fw/altos]
/
src
/
core
/
ao.h
diff --git
a/src/core/ao.h
b/src/core/ao.h
index ea37885e03e4c84987cea74904ee2bbc1f5ae4d5..d12f13a08f0f3979e4cbae178b8db33133e9836b 100644
(file)
--- a/
src/core/ao.h
+++ b/
src/core/ao.h
@@
-739,7
+739,7
@@
extern __xdata uint8_t ao_force_freq;
#endif
#define AO_CONFIG_MAJOR 1
#endif
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 1
4
+#define AO_CONFIG_MINOR 1
5
#define AO_AES_LEN 16
#define AO_AES_LEN 16
@@
-773,6
+773,11
@@
struct ao_config {
#if HAS_RADIO_AMP
uint8_t radio_amp; /* minor version 14 */
#endif
#if HAS_RADIO_AMP
uint8_t radio_amp; /* minor version 14 */
#endif
+#if HAS_GYRO
+ uint16_t accel_zero_along; /* minor version 15 */
+ uint16_t accel_zero_across; /* minor version 15 */
+ uint16_t accel_zero_through; /* minor version 15 */
+#endif
};
#define AO_IGNITE_MODE_DUAL 0
};
#define AO_IGNITE_MODE_DUAL 0