From 442c579cc240c68e88264ab0168db5325428b887 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 23 May 2011 02:36:14 -0400 Subject: adc.c: Giving adc_dev variables static linkage. --- libmaple/adc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmaple/adc.c b/libmaple/adc.c index 843636d..b884eef 100644 --- a/libmaple/adc.c +++ b/libmaple/adc.c @@ -39,14 +39,14 @@ #include "rcc.h" #include "adc.h" -adc_dev adc1 = { +static adc_dev adc1 = { .regs = ADC1_BASE, .clk_id = RCC_ADC1 }; /** ADC1 device. */ const adc_dev *ADC1 = &adc1; -adc_dev adc2 = { +static adc_dev adc2 = { .regs = ADC2_BASE, .clk_id = RCC_ADC2 }; -- cgit v1.2.3