diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-04-21 01:36:03 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-04-21 01:36:03 -0400 |
commit | 6c0bf0d28732e8d694e2dd8b94d21946913a4334 (patch) | |
tree | ab05669602128cb870a17a8d85dbbc661eef4949 | |
parent | b21f5b6f55566a6258092b9c8e658f898188ab12 (diff) | |
download | librambutan-6c0bf0d28732e8d694e2dd8b94d21946913a4334.tar.gz librambutan-6c0bf0d28732e8d694e2dd8b94d21946913a4334.zip |
after change of pin numbering scheme, NR_ANALOG_PINS doesn't make sense any more
-rw-r--r-- | libmaple/adc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/adc.h b/libmaple/adc.h index f2f02d8..11aa5f6 100644 --- a/libmaple/adc.h +++ b/libmaple/adc.h @@ -65,7 +65,7 @@ extern "C"{ #define CR2_SWSTART_BIT *(volatile uint32*)(BITBAND_PERI(ADC_BASE+0x8 + 2, 6)) #define SR_EOC_BIT *(volatile uint32*)(BITBAND_PERI(ADC_BASE+0, 1)) -#define NR_ANALOG_PINS 16 +#define NR_ANALOG_PINS 29 /* Initialize ADC1 to do one-shot conversions */ void adc_init(void); |