aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-23 02:36:14 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-23 02:37:04 -0400
commit442c579cc240c68e88264ab0168db5325428b887 (patch)
tree7ef507db91866aa0be9b6bb345e4695d3311a5d8 /libmaple
parente9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e (diff)
downloadlibrambutan-442c579cc240c68e88264ab0168db5325428b887.tar.gz
librambutan-442c579cc240c68e88264ab0168db5325428b887.zip
adc.c: Giving adc_dev variables static linkage.
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/adc.c4
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
};