aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/adc_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-02 15:55:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-02 15:55:13 +0000
commit43bb4bfedb2c8b2ed31adc4d3e262d3c975cbe66 (patch)
tree18a0fbabdad3a7b7722e088032bf07ddee2dc92e /os/hal/platforms/STM32/adc_lld.c
parent4844936fde9fc060cd41e15bb354db7a160b4eb4 (diff)
downloadChibiOS-43bb4bfedb2c8b2ed31adc4d3e262d3c975cbe66.tar.gz
ChibiOS-43bb4bfedb2c8b2ed31adc4d3e262d3c975cbe66.tar.bz2
ChibiOS-43bb4bfedb2c8b2ed31adc4d3e262d3c975cbe66.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2787 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/adc_lld.c')
-rw-r--r--os/hal/platforms/STM32/adc_lld.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/adc_lld.c b/os/hal/platforms/STM32/adc_lld.c
index 91fd8a6e8..d8822e0ab 100644
--- a/os/hal/platforms/STM32/adc_lld.c
+++ b/os/hal/platforms/STM32/adc_lld.c
@@ -93,10 +93,6 @@ CH_IRQ_HANDLER(DMA1_Ch1_IRQHandler) {
void adc_lld_init(void) {
#if STM32_ADC_USE_ADC1
- /* ADC reset, ensures reset state in order to avoid trouble with JTAGs.*/
- RCC->APB2RSTR = RCC_APB2RSTR_ADC1RST;
- RCC->APB2RSTR = 0;
-
/* Driver initialization.*/
adcObjectInit(&ADCD1);
ADCD1.ad_adc = ADC1;