From a40c83be94a4d006b594711d09009afaedc0487a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 25 Mar 2013 09:42:30 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5502 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal') diff --git a/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c b/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c index 8a0c251d5..1d5b5c62c 100644 --- a/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c +++ b/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c @@ -525,10 +525,10 @@ void adc_lld_init(void) { #if SPC5_ADC_USE_ADC1_Q5 /* Driver initialization.*/ - adcObjectInit(&ADCD4); - ADCD4.cfifo_channel = EDMA_ERROR; - ADCD4.rfifo_channel = EDMA_ERROR; - ADCD4.fifo = ADC_FIFO_5; + adcObjectInit(&ADCD6); + ADCD6.cfifo_channel = EDMA_ERROR; + ADCD6.rfifo_channel = EDMA_ERROR; + ADCD6.fifo = ADC_FIFO_5; #endif /* SPC5_ADC_USE_ADC1_Q5 */ /* Temporarily enables CFIFO0 for calibration and initialization.*/ -- cgit v1.2.3