diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-17 16:49:20 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-17 16:49:20 -0400 |
commit | 2da333ded84dc2c1881fb6e18213ff347dfb2c02 (patch) | |
tree | e46167c77ca04b521f398528fd1b922f5986de57 | |
parent | 871a8a4b10c09c80d3658a0844e6707989612708 (diff) | |
download | librambutan-2da333ded84dc2c1881fb6e18213ff347dfb2c02.tar.gz librambutan-2da333ded84dc2c1881fb6e18213ff347dfb2c02.zip |
adc.h: Putting ADC3_BASE within an #ifdef STM32_HIGH_DENSITY
-rw-r--r-- | libmaple/adc.h | 2 |
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 |