diff options
-rw-r--r-- | os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c | 8 |
1 files changed, 4 insertions, 4 deletions
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.*/
|