Skip to content

Commit ceb89b3

Browse files
committed
[EEXTR F030 V1] Remove useless Analog pins definition
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 54bd8aa commit ceb89b3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

variants/EEXTR_F030_V1/variant.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ const PinName digitalPin[] = {
7575
PB_7, // D36
7676
PB_8, // D37
7777
PB_9, // D38
78-
// Duplicate definitions for the analog pins
79-
PA_0, // A0
80-
PA_1, // A1
81-
PA_2, // A2
8278
};
8379

8480
#ifdef __cplusplus

variants/EEXTR_F030_V1/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ extern const PinName digitalPin[];
9191
#define NUM_DIGITAL_PINS 39
9292
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
9393
#define NUM_ANALOG_INPUTS 3
94-
#define NUM_ANALOG_FIRST 40
94+
#define NUM_ANALOG_FIRST 5
9595

9696
//On-board LED pin number
9797
//#define LED_BUILTIN -1

0 commit comments

Comments
 (0)