projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid 16-bit overflow in velocity computation.
[fw/altos]
/
ao.h
diff --git
a/ao.h
b/ao.h
index 315585293e9b25a51a44b3416ddb465e7f39e50e..411b950deb23c2e22bd26c2155825863d3609862 100644
(file)
--- a/
ao.h
+++ b/
ao.h
@@
-725,8
+725,10
@@
struct ao_telemetry {
uint8_t addr;
uint8_t flight_state;
int16_t flight_accel;
uint8_t addr;
uint8_t flight_state;
int16_t flight_accel;
+ int16_t ground_accel;
int32_t flight_vel;
int16_t flight_pres;
int32_t flight_vel;
int16_t flight_pres;
+ int16_t ground_pres;
struct ao_adc adc;
struct ao_gps_data gps;
char callsign[AO_MAX_CALLSIGN];
struct ao_adc adc;
struct ao_gps_data gps;
char callsign[AO_MAX_CALLSIGN];