Fix #ifdef AVR_AT90USB1286_FAMILY in pinsDebug
Can't compile with PINS_DEBUGING enabled on Atmega1284p because it tries to enumerate pins 46 and 47 (which don't exist) because `#ifdef AVR_AT90USB1286_FAMILY ` doesn't work as expected.
This commit is contained in:
@ -6438,7 +6438,7 @@ inline void gcode_M42() {
|
||||
}
|
||||
else {
|
||||
report_pin_state_extended(pin, I_flag, true, "Pulsing ");
|
||||
#ifdef AVR_AT90USB1286_FAMILY // Teensy IDEs don't know about these pins so must use FASTIO
|
||||
#if AVR_AT90USB1286_FAMILY // Teensy IDEs don't know about these pins so must use FASTIO
|
||||
if (pin == 46) {
|
||||
SET_OUTPUT(46);
|
||||
for (int16_t j = 0; j < repeat; j++) {
|
||||
|
Reference in New Issue
Block a user