Skip to content

Commit ef9cec9

Browse files
committed
🧑‍💻 FastIO AT90USB pins 46-47 (2)
also lang
1 parent 3df7518 commit ef9cec9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Marlin/src/pins/pinsDebug.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,14 @@ inline void printPinStateExt(const pin_t pin, const bool ignore, const bool exte
191191
auto alt_pin_echo = [](const pin_t &pin) {
192192
#if AVR_AT90USB1286_FAMILY
193193
// Use FastIO for pins Teensy doesn't expose
194-
if (pin == 46) {
195-
printPinIOState(IS_OUTPUT(46));
196-
printPinState(READ(46));
194+
if (pin == PIN_E2) {
195+
printPinIOState(IS_OUTPUT(PIN_E2));
196+
printPinState(READ(PIN_E2));
197197
return false;
198198
}
199-
else if (pin == 47) {
200-
printPinIOState(IS_OUTPUT(47));
201-
printPinState(READ(47));
199+
else if (pin == PIN_E3) {
200+
printPinIOState(IS_OUTPUT(PIN_E3));
201+
printPinState(READ(PIN_E3));
202202
return false;
203203
}
204204
#endif

0 commit comments

Comments
 (0)