diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-10 11:05:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-10 11:05:48 +0000 |
commit | ecab0727815d553529cc901ca5a0bb68919b110a (patch) | |
tree | af3c438f3538cb9c6b761965093bafb8dce61a5e /os/hal/platforms/STM32F30x/adc_lld.h | |
parent | dcebb5f9bd302221cef95da63c7b1e5ecd88e965 (diff) | |
download | ChibiOS-ecab0727815d553529cc901ca5a0bb68919b110a.tar.gz ChibiOS-ecab0727815d553529cc901ca5a0bb68919b110a.tar.bz2 ChibiOS-ecab0727815d553529cc901ca5a0bb68919b110a.zip |
Related to STM32F37x support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5147 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F30x/adc_lld.h')
-rw-r--r-- | os/hal/platforms/STM32F30x/adc_lld.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F30x/adc_lld.h b/os/hal/platforms/STM32F30x/adc_lld.h index cda0c193a..5c64d035c 100644 --- a/os/hal/platforms/STM32F30x/adc_lld.h +++ b/os/hal/platforms/STM32F30x/adc_lld.h @@ -291,7 +291,7 @@ #endif
#if STM32_ADC_ADC12_CLOCK_MODE == ADC_CCR_CKMODE_ADCCK
-#define STM32_ADC12_CLOCK STM32ADC1CLK
+#define STM32_ADC12_CLOCK STM32_ADC12CLK
#elif STM32_ADC_ADC12_CLOCK_MODE == ADC_CCR_CKMODE_AHB_DIV1
#define STM32_ADC12_CLOCK (STM32_HCLK / 1)
#elif STM32_ADC_ADC12_CLOCK_MODE == ADC_CCR_CKMODE_AHB_DIV2
@@ -303,7 +303,7 @@ #endif
#if STM32_ADC_ADC34_CLOCK_MODE == ADC_CCR_CKMODE_ADCCK
-#define STM32_ADC34_CLOCK STM32ADC3CLK
+#define STM32_ADC34_CLOCK STM32_ADC34CLK
#elif STM32_ADC_ADC34_CLOCK_MODE == ADC_CCR_CKMODE_AHB_DIV1
#define STM32_ADC34_CLOCK (STM32_HCLK / 1)
#elif STM32_ADC_ADC34_CLOCK_MODE == ADC_CCR_CKMODE_AHB_DIV2
|