diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-25 09:42:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-25 09:42:30 +0000 |
commit | a40c83be94a4d006b594711d09009afaedc0487a (patch) | |
tree | 3a4eac4c035131edd78a184b5d64adeb8b1265e3 /os | |
parent | 9bde264f8b43f0d1b41cb660c8bc21f1fc387ea0 (diff) | |
download | ChibiOS-a40c83be94a4d006b594711d09009afaedc0487a.tar.gz ChibiOS-a40c83be94a4d006b594711d09009afaedc0487a.tar.bz2 ChibiOS-a40c83be94a4d006b594711d09009afaedc0487a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5502 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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.*/
|