aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-20 15:45:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-20 15:45:32 +0000
commit80f5622610cd3d4b20e7bf152d965b46396ad221 (patch)
treee4bb77aa2e36a4a05987454fbf1b058a091de2e8 /os
parent227f9b7e3e3ad570adccec22df0e2da29080b4e9 (diff)
downloadChibiOS-80f5622610cd3d4b20e7bf152d965b46396ad221.tar.gz
ChibiOS-80f5622610cd3d4b20e7bf152d965b46396ad221.tar.bz2
ChibiOS-80f5622610cd3d4b20e7bf152d965b46396ad221.zip
Fixed bug #535.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7292 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F30x/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F30x/adc_lld.c b/os/hal/ports/STM32/STM32F30x/adc_lld.c
index 0f0838f12..b08c55f3b 100644
--- a/os/hal/ports/STM32/STM32F30x/adc_lld.c
+++ b/os/hal/ports/STM32/STM32F30x/adc_lld.c
@@ -439,7 +439,7 @@ void adc_lld_stop(ADCDriver *adcp) {
#endif
#if STM32_ADC_USE_ADC3
- if (&ADCD1 == adcp)
+ if (&ADCD3 == adcp)
rccDisableADC34(FALSE);
#endif
}