Skip to content

Commit 2f1abc2

Browse files
committed
Remove AEND definition
AEND was used by firmata and kept for backward compatibility with Firmata. It could be now safely removed as Firmata does not use it anymore. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 119d793 commit 2f1abc2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cores/arduino/pins_arduino.h

-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ _Static_assert(NUM_ANALOG_INPUTS <= MAX_ANALOG_INPUTS,
6565
_Static_assert(NUM_ANALOG_FIRST >= NUM_ANALOG_INPUTS,
6666
"First analog pin value (A0) must be greater than or equal to NUM_ANALOG_INPUTS");
6767

68-
// Defined for backward compatibility with Firmata which unfortunately use it
69-
#define AEND (NUM_ANALOG_FIRST+NUM_ANALOG_INPUTS)
70-
7168
#if NUM_ANALOG_INPUTS > 0
7269
#define PIN_A0 NUM_ANALOG_FIRST
7370
static const uint8_t A0 = PIN_A0;

0 commit comments

Comments
 (0)