diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-23 02:36:14 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-23 02:37:04 -0400 |
commit | 442c579cc240c68e88264ab0168db5325428b887 (patch) | |
tree | 7ef507db91866aa0be9b6bb345e4695d3311a5d8 | |
parent | e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e (diff) | |
download | librambutan-442c579cc240c68e88264ab0168db5325428b887.tar.gz librambutan-442c579cc240c68e88264ab0168db5325428b887.zip |
adc.c: Giving adc_dev variables static linkage.
-rw-r--r-- | libmaple/adc.c | 4 |
1 files 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 }; |