diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-13 19:55:23 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-13 19:55:23 +0000 |
commit | 5c2d8efab35edb7051d63a05fb473a3d28ead047 (patch) | |
tree | 901b18fef717a2017f979668423176c45977a160 /os | |
parent | 77a131bafd51ff21b726a1c43a34229926b17bd4 (diff) | |
download | ChibiOS-5c2d8efab35edb7051d63a05fb473a3d28ead047.tar.gz ChibiOS-5c2d8efab35edb7051d63a05fb473a3d28ead047.tar.bz2 ChibiOS-5c2d8efab35edb7051d63a05fb473a3d28ead047.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8596 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/ADCv3/adc_lld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/ADCv3/adc_lld.c b/os/hal/ports/STM32/LLD/ADCv3/adc_lld.c index 36d3a320e..a4a690300 100644 --- a/os/hal/ports/STM32/LLD/ADCv3/adc_lld.c +++ b/os/hal/ports/STM32/LLD/ADCv3/adc_lld.c @@ -468,13 +468,13 @@ void adc_lld_init(void) { #if defined(STM32F3XX)
#if STM32_ADC_USE_ADC1 || STM32_ADC_USE_ADC2
rccEnableADC12(FALSE);
- osalSysPolledDelayX(12);
+// osalSysPolledDelayX(12);
ADC1_2_COMMON->CCR = STM32_ADC_ADC123_CLOCK_MODE | ADC_DMA_MDMA;
rccDisableADC12(FALSE);
#endif
#if STM32_ADC_USE_ADC3 || STM32_ADC_USE_ADC4
rccEnableADC34(FALSE);
- osalSysPolledDelayX(12);
+// osalSysPolledDelayX(12);
ADC3_4_COMMON->CCR = STM32_ADC_ADC123_CLOCK_MODE | ADC_DMA_MDMA;
rccDisableADC34(FALSE);
#endif
@@ -482,7 +482,7 @@ void adc_lld_init(void) { #if defined(STM32L4XX)
rccEnableADC123(FALSE);
- osalSysPolledDelayX(12);
+// osalSysPolledDelayX(12);
ADC123_COMMON->CCR = STM32_ADC_ADC123_CLOCK_MODE | ADC_DMA_MDMA;
rccDisableADC123(FALSE);
#endif
|