| 668 | // replace Serial.print("string") with SerialPrint("string") |
| 669 | #define SerialPrint(x) SerialPrint_P(PSTR(x)) |
| 670 | void SerialWrite(uint8_t c) { |
| 671 | Serial.write(c); |
| 672 | } |
| 673 | |
| 674 | void SerialPrint_P(PGM_P str, void (*f)(uint8_t) = SerialWrite ) { |
| 675 | for (uint8_t c; (c = pgm_read_byte(str)); str++) (*f)(c); |
nothing calls this directly
no outgoing calls
no test coverage detected