Refactor serial class with templates (#20783)

This commit is contained in:
X-Ryl669 authored and Scott Lahteine committed 2021-04-29 08:45:12 -05:00
1 parent 8da8e7d17b
commit efa1e56369
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(':');
}
}