Unify full firmware profiles and add dual USB logging

This commit is contained in:
mikecarper committed 2026-08-23 19:22:45 -07:00
1 parent b699e552ec
commit f2d4ffbb7e
56 files changed
+1652 -361

No files matched your search

+5 -4
View File
@@ -266,10 +266,11 @@ void MyMesh::logRxRaw(float snr, float rssi, const uint8_t raw[], int len) {
#if MESH_PACKET_LOGGING
if (mesh::isUsbLoggingEnabled()) {
// Logging builds prefer backpressure over silently losing a packet record.
Serial.print(getLogDateTime());
Serial.print(" RAW: ");
mesh::Utils::printHex(Serial, raw, len);
Serial.println();
Stream& logging_port = mesh::usbLoggingPort();
logging_port.print(getLogDateTime());
logging_port.print(" RAW: ");
mesh::Utils::printHex(logging_port, raw, len);
logging_port.println();
}
#endif