projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7314bf8
)
altos: Set tick value in new TeleMetrum v2 sensor packets
author
Keith Packard
<keithp@keithp.com>
Fri, 6 Sep 2013 05:57:19 +0000
(22:57 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 6 Sep 2013 05:57:19 +0000
(22:57 -0700)
Was getting left with the old value, which wasn't very useful
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_telemetry.c
patch
|
blob
|
history
diff --git
a/src/core/ao_telemetry.c
b/src/core/ao_telemetry.c
index cd95aa6bce3d0a995d70b6fd30a90d49a75ca07a..6b47a06a1cbf42dec3a81d2cb105abf953cf55b4 100644
(file)
--- a/
src/core/ao_telemetry.c
+++ b/
src/core/ao_telemetry.c
@@
-182,6
+182,7
@@
ao_send_metrum_sensor(void)
{
__xdata struct ao_data *packet = (__xdata struct ao_data *) &ao_data_ring[ao_data_ring_prev(ao_sample_data)];
+ telemetry.generic.tick = packet->tick;
telemetry.generic.type = AO_TELEMETRY_METRUM_SENSOR;
telemetry.metrum_sensor.state = ao_flight_state;