diff options
author | Keith Packard <keithp@keithp.com> | 2012-05-01 11:08:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-05-01 11:08:49 -0700 |
commit | 8b08095b3d41e21684a10bddfb54431019da5af6 (patch) | |
tree | 56083711136e4a59f1c2a591844a4c744dd849bc /src/drivers/ao_hmc5883.c | |
parent | 7b0b6bcc40891d8dd106d091d3af8107b2941c66 (diff) |
altos: Report latest telemetry data, rather than using the oldest
ao_sample_adc points to the *next* ADC entry, rather than the most
recent one. Step back one entry to get the latest valid data.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_hmc5883.c')
0 files changed, 0 insertions, 0 deletions