aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-17 16:49:20 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-17 16:49:20 -0400
commit2da333ded84dc2c1881fb6e18213ff347dfb2c02 (patch)
treee46167c77ca04b521f398528fd1b922f5986de57 /libmaple
parent871a8a4b10c09c80d3658a0844e6707989612708 (diff)
downloadlibrambutan-2da333ded84dc2c1881fb6e18213ff347dfb2c02.tar.gz
librambutan-2da333ded84dc2c1881fb6e18213ff347dfb2c02.zip
adc.h: Putting ADC3_BASE within an #ifdef STM32_HIGH_DENSITY
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