diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-03 15:20:02 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-03 15:20:02 -0400 |
commit | 11ff6dcb5cec9db63db90257222cbc34276f8c3a (patch) | |
tree | 003e60114c45dab286ef9995679c25857fb9c5c8 | |
parent | b600996c6a075ea7f7dca4f952a302d73329c94a (diff) | |
download | librambutan-11ff6dcb5cec9db63db90257222cbc34276f8c3a.tar.gz librambutan-11ff6dcb5cec9db63db90257222cbc34276f8c3a.zip |
stm32f1/adc.c: Cosmetics.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r-- | libmaple/stm32f1/adc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libmaple/stm32f1/adc.c b/libmaple/stm32f1/adc.c index bb6f8ca..06c2d30 100644 --- a/libmaple/stm32f1/adc.c +++ b/libmaple/stm32f1/adc.c @@ -27,7 +27,9 @@ /** * @file libmaple/stm32f1/include/series/adc.c - * @brief STM32F1 ADC header. + * @author Marti Bolivar <mbolivar@leaflabs.com>, + * Perry Hung <perry@leaflabs.com> + * @brief STM32F1-specific ADC support. */ #include <libmaple/adc.h> @@ -39,14 +41,14 @@ static adc_dev adc1 = { .regs = ADC1_BASE, - .clk_id = RCC_ADC1 + .clk_id = RCC_ADC1, }; /** ADC1 device. */ const adc_dev *ADC1 = &adc1; static adc_dev adc2 = { .regs = ADC2_BASE, - .clk_id = RCC_ADC2 + .clk_id = RCC_ADC2, }; /** ADC2 device. */ const adc_dev *ADC2 = &adc2; @@ -54,7 +56,7 @@ const adc_dev *ADC2 = &adc2; #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) adc_dev adc3 = { .regs = ADC3_BASE, - .clk_id = RCC_ADC3 + .clk_id = RCC_ADC3, }; /** ADC3 device. */ const adc_dev *ADC3 = &adc3; |