diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-06 21:26:18 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-06 21:26:18 -0400 |
commit | 9f41111904f8dd6691c4d3c880572b369b5fed43 (patch) | |
tree | bcb063096715fb5dc05fc80a0869f8b710ff8126 /libmaple | |
parent | 12dbd700d2a2172c40909b6302caf0aa83135478 (diff) | |
download | librambutan-9f41111904f8dd6691c4d3c880572b369b5fed43.tar.gz librambutan-9f41111904f8dd6691c4d3c880572b369b5fed43.zip |
adc: Add missing "static" on adc_dev adc3.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f1/adc.c | 2 | ||||
-rw-r--r-- | libmaple/stm32f2/adc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/stm32f1/adc.c b/libmaple/stm32f1/adc.c index 06c2d30..794c5c8 100644 --- a/libmaple/stm32f1/adc.c +++ b/libmaple/stm32f1/adc.c @@ -54,7 +54,7 @@ static adc_dev adc2 = { const adc_dev *ADC2 = &adc2; #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) -adc_dev adc3 = { +static adc_dev adc3 = { .regs = ADC3_BASE, .clk_id = RCC_ADC3, }; diff --git a/libmaple/stm32f2/adc.c b/libmaple/stm32f2/adc.c index fbe1618..a4c227e 100644 --- a/libmaple/stm32f2/adc.c +++ b/libmaple/stm32f2/adc.c @@ -50,7 +50,7 @@ static adc_dev adc2 = { /** ADC2 device. */ const adc_dev *ADC2 = &adc2; -adc_dev adc3 = { +static adc_dev adc3 = { .regs = ADC3_BASE, .clk_id = RCC_ADC3, }; |