summaryrefslogtreecommitdiff
path: root/src/drivers/ao_hmc5883.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-01 11:08:49 -0700
committerKeith Packard <keithp@keithp.com>2012-05-01 11:08:49 -0700
commit8b08095b3d41e21684a10bddfb54431019da5af6 (patch)
tree56083711136e4a59f1c2a591844a4c744dd849bc /src/drivers/ao_hmc5883.c
parent7b0b6bcc40891d8dd106d091d3af8107b2941c66 (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