|
|
@ -484,7 +484,7 @@ inline void report_pin_state_extended(int8_t pin, bool ignore, bool extended = f
|
|
|
|
if (pin_is_protected(pin) && !ignore)
|
|
|
|
if (pin_is_protected(pin) && !ignore)
|
|
|
|
SERIAL_ECHOPGM("protected ");
|
|
|
|
SERIAL_ECHOPGM("protected ");
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
#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 || pin == 47) {
|
|
|
|
if (pin == 46 || pin == 47) {
|
|
|
|
if (pin == 46) {
|
|
|
|
if (pin == 46) {
|
|
|
|
print_input_or_output(GET_OUTPUT(46));
|
|
|
|
print_input_or_output(GET_OUTPUT(46));
|
|
|
@ -539,7 +539,7 @@ inline void report_pin_state_extended(int8_t pin, bool ignore, bool extended = f
|
|
|
|
SERIAL_ECHO_SP(8); // add padding if not an analog pin
|
|
|
|
SERIAL_ECHO_SP(8); // add padding if not an analog pin
|
|
|
|
SERIAL_ECHOPGM("<unused/unknown>");
|
|
|
|
SERIAL_ECHOPGM("<unused/unknown>");
|
|
|
|
if (extended) {
|
|
|
|
if (extended) {
|
|
|
|
#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 || pin == 47) {
|
|
|
|
if (pin == 46 || pin == 47) {
|
|
|
|
SERIAL_PROTOCOL_SP(12);
|
|
|
|
SERIAL_PROTOCOL_SP(12);
|
|
|
|
if (pin == 46) {
|
|
|
|
if (pin == 46) {
|
|
|
|