mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-05 13:03:56 -06:00
🧑💻 FastIO AT90USB pins 46-47 (2)
also lang
This commit is contained in:
parent
3df75188f3
commit
ef9cec9e40
1 changed files with 6 additions and 6 deletions
|
@ -191,14 +191,14 @@ inline void printPinStateExt(const pin_t pin, const bool ignore, const bool exte
|
|||
auto alt_pin_echo = [](const pin_t &pin) {
|
||||
#if AVR_AT90USB1286_FAMILY
|
||||
// Use FastIO for pins Teensy doesn't expose
|
||||
if (pin == 46) {
|
||||
printPinIOState(IS_OUTPUT(46));
|
||||
printPinState(READ(46));
|
||||
if (pin == PIN_E2) {
|
||||
printPinIOState(IS_OUTPUT(PIN_E2));
|
||||
printPinState(READ(PIN_E2));
|
||||
return false;
|
||||
}
|
||||
else if (pin == 47) {
|
||||
printPinIOState(IS_OUTPUT(47));
|
||||
printPinState(READ(47));
|
||||
else if (pin == PIN_E3) {
|
||||
printPinIOState(IS_OUTPUT(PIN_E3));
|
||||
printPinState(READ(PIN_E3));
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue