aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/adc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmaple/adc.h b/libmaple/adc.h
index c6a67a0..55a7dc4 100644
--- a/libmaple/adc.h
+++ b/libmaple/adc.h
@@ -86,8 +86,10 @@ extern const adc_dev *ADC3;
#define ADC1_BASE ((adc_reg_map*)0x40012400)
/** ADC2 register map base pointer. */
#define ADC2_BASE ((adc_reg_map*)0x40012800)
+#ifdef STM32_HIGH_DENSITY
/** ADC3 register map base pointer. */
#define ADC3_BASE ((adc_reg_map*)0x40013C00)
+#endif
/*
* Register bit definitions