🐛 Fix LPC176x M43 Pins Debugging (#22611)

This commit is contained in:
Chris Pepper
2021-08-22 22:47:37 +01:00
committed by Scott Lahteine
parent 73ef26a106
commit d8ef23eda7
11 changed files with 22 additions and 18 deletions

View File

@ -393,3 +393,4 @@ static void pwm_details(uint8_t pin) {
#endif
#define PRINT_PIN(p) do{ sprintf_P(buffer, PSTR("%3d "), p); SERIAL_ECHO(buffer); }while(0)
#define PRINT_PIN_ANALOG(p) do{ sprintf_P(buffer, PSTR(" (A%2d) "), DIGITAL_PIN_TO_ANALOG_PIN(pin)); SERIAL_ECHO(buffer); }while(0)