Refactor serial class with templates (#20783)

This commit is contained in:
X-Ryl669 authored and GitHub committed 2021-01-28 02:02:06 -06:00
1 parent c929fb52dd
commit 3f01b222b2
64 files changed
+782 -948

No files matched your search

@@ -47,7 +47,8 @@ void MAC_report() {
Ethernet.MACAddress(mac);
SERIAL_ECHOPGM(" MAC: ");
LOOP_L_N(i, 6) {
SERIAL_PRINTF("%02X", mac[i]);
if (mac[i] < 16) SERIAL_CHAR('0');
SERIAL_PRINT(mac[i], HEX);
if (i < 5) SERIAL_CHAR(':');
}
}