aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
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
};