diff options
-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, }; |