projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets
[fw/altos]
/
src
/
kernel
/
ao_log.h
diff --git
a/src/kernel/ao_log.h
b/src/kernel/ao_log.h
index 09f3118812ed64f5436b48d3252cad80c856575e..3ff9e81142ed60925eb22b71b82bbe205d83aced 100644
(file)
--- a/
src/kernel/ao_log.h
+++ b/
src/kernel/ao_log.h
@@
-206,9
+206,9
@@
struct ao_log_mega {
uint16_t flight; /* 4 */
int16_t ground_accel; /* 6 */
uint32_t ground_pres; /* 8 */
uint16_t flight; /* 4 */
int16_t ground_accel; /* 6 */
uint32_t ground_pres; /* 8 */
- int16_t ground_accel_along; /* 1
6
*/
- int16_t ground_accel_across; /* 1
2
*/
- int16_t ground_accel_through; /* 1
4
*/
+ int16_t ground_accel_along; /* 1
2
*/
+ int16_t ground_accel_across; /* 1
4
*/
+ int16_t ground_accel_through; /* 1
6
*/
int16_t ground_roll; /* 18 */
int16_t ground_pitch; /* 20 */
int16_t ground_yaw; /* 22 */
int16_t ground_roll; /* 18 */
int16_t ground_pitch; /* 20 */
int16_t ground_yaw; /* 22 */