Skip to content

Commit f4bfe5a

Browse files
committed
Revert "Fixed ADC offset problem"
This reverts commit 399acd1.
1 parent 399acd1 commit f4bfe5a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX/PeripheralNames.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ typedef enum {
3737
ADC0_3,
3838
ADC0_4,
3939
ADC0_5,
40-
ADC0_6,
41-
ADC0_7
40+
ADC0_6
4241
} ADCName;
4342

4443
typedef enum {

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX/analogin_api.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ static const PinMap PinMap_ADC[] = {
3232
{P1_0 , ADC0_1, 2},
3333
{P1_1 , ADC0_2, 2},
3434
{P1_2 , ADC0_3, 2},
35-
{P1_4 , ADC0_5, 1},
36-
{P1_10, ADC0_6, 1},
37-
{P1_11, ADC0_7, 1},
35+
{P1_4 , ADC0_4, 1},
36+
{P1_10, ADC0_5, 1},
37+
{P1_11, ADC0_6, 1},
3838
{NC , NC , 0}
3939
};
4040

0 commit comments

Comments
 (0)