diff options
| author | Keith Packard <keithp@keithp.com> | 2012-05-27 17:44:01 -0600 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-05-27 17:44:01 -0600 | 
| commit | 29edf6d901432a1afc65900ff599c963edac5a2b (patch) | |
| tree | 6d1c699865c52ea5a473266766756387f0e20dc4 /src/drivers/ao_science_slave.c | |
| parent | 5fd869b244f8f2b76258dc31a5507a73fd47cf1d (diff) | |
altos: Make telescience-v0.1 build with new ao_data struct
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_science_slave.c')
| -rw-r--r-- | src/drivers/ao_science_slave.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_science_slave.c b/src/drivers/ao_science_slave.c index a86b5151..996e98d9 100644 --- a/src/drivers/ao_science_slave.c +++ b/src/drivers/ao_science_slave.c @@ -42,7 +42,7 @@ void ao_spi_slave(void)  				  sizeof (ao_telescience_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,  				  AO_LOG_TELESCIENCE_NUM_ADC * sizeof (uint16_t));  		break;  	case AO_COMPANION_NOTIFY:  | 
