From: Keith Packard Date: Sun, 27 May 2012 23:45:09 +0000 (-0600) Subject: altos: Make telepyro-v0.1 build with new ao_data struct X-Git-Tag: 1.0.9.5~8 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=5dd5e0284c8b26b0d4ce69c64bb7864e0ae83db7 altos: Make telepyro-v0.1 build with new ao_data struct Signed-off-by: Keith Packard --- diff --git a/src/drivers/ao_pyro_slave.c b/src/drivers/ao_pyro_slave.c index 5a8ab922..70206a00 100644 --- a/src/drivers/ao_pyro_slave.c +++ b/src/drivers/ao_pyro_slave.c @@ -41,7 +41,7 @@ void ao_spi_slave(void) sizeof (ao_telepyro_setup)); break; case AO_COMPANION_FETCH: - ao_spi_slave_send((uint8_t *) &ao_adc_ring[ao_adc_ring_prev(ao_adc_head)].adc, + ao_spi_slave_send((uint8_t *) &ao_data_ring[ao_data_ring_prev(ao_data_head)].adc.adc, AO_TELEPYRO_NUM_ADC * sizeof (uint16_t)); break; case AO_COMPANION_NOTIFY: