Skip to content

Commit 6feb080

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 <frederic.pillon@st.com>
1 parent 9b224d6 commit 6feb080

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cores/arduino/pins_arduino.h

Lines changed: 0 additions & 3 deletions
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)