From 9f41111904f8dd6691c4d3c880572b369b5fed43 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Sun, 6 May 2012 21:26:18 -0400 Subject: adc: Add missing "static" on adc_dev adc3. Signed-off-by: Marti Bolivar --- libmaple/stm32f1/adc.c | 2 +- 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, }; -- cgit v1.2.3