altos: Create ao_data_fill shared function
authorKeith Packard <keithp@keithp.com>
Fri, 19 Oct 2018 15:12:22 +0000 (08:12 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 19 Oct 2018 15:37:56 +0000 (08:37 -0700)
commit80affca535c5c43a5d9963dfafc74f9675c9b155
tree7d479a5246552cc5e86a216099d1dc06361f5419
parentfacf790f469df374257440ba9482321cbab7cecb
altos: Create ao_data_fill shared function

This fills a data ring entry with all of the current sensor values
other than the ADC. It is used in all of the adc completion functions.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_data.h
src/lpc/ao_adc_lpc.c
src/stm/ao_adc_stm.c
src/stmf0/ao_adc_stm.c