diff options
author | Keith Packard <keithp@keithp.com> | 2013-09-05 22:57:19 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-09-05 22:57:19 -0700 |
commit | 7f4650990e8a7cfcf8461e8928dfc426c9a563cc (patch) | |
tree | 7817c7323052ba92bf59ccac28acd8fd186d3cc5 /src/core/ao_telemetry.c | |
parent | 7314bf807544eecf2fd970e93c752ff15688bb42 (diff) |
altos: Set tick value in new TeleMetrum v2 sensor packets
Was getting left with the old value, which wasn't very useful
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_telemetry.c')
-rw-r--r-- | src/core/ao_telemetry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ao_telemetry.c b/src/core/ao_telemetry.c index cd95aa6b..6b47a06a 100644 --- 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; |