Serial refactor followup (#20932)

This commit is contained in:
X-Ryl669
2021-02-01 00:21:27 +01:00
committed by GitHub
parent d49969ddf3
commit 27366197f3
9 changed files with 31 additions and 18 deletions

View File

@ -35,8 +35,8 @@
static void cap_line(PGM_P const name, bool ena=false) {
SERIAL_ECHOPGM("Cap:");
serialprintPGM(name);
SERIAL_CHAR(':');
SERIAL_ECHOLN(int(ena ? 1 : 0));
SERIAL_CHAR(':', ena ? '1' : '0');
SERIAL_EOL();
}
#endif