Unify full firmware profiles and add dual USB logging

This commit is contained in:
mikecarper
2026-08-23 19:22:45 -07:00
parent 9ed9e9d746
commit 5362d36ac7
56 changed files with 1652 additions and 361 deletions
+3 -2
View File
@@ -819,8 +819,9 @@ bool SensorMesh::handleIncomingMsg(ClientInfo& from, uint32_t timestamp, uint8_t
MESH_DEBUG_PRINT("handleIncomingMsg: unhandled msg from ");
#ifdef MESH_DEBUG
if (mesh::isUsbLoggingEnabled()) {
mesh::Utils::printHex(Serial, from.id.pub_key, PUB_KEY_SIZE);
Serial.printf(": %s\n", data);
Stream& logging_port = mesh::usbLoggingPort();
mesh::Utils::printHex(logging_port, from.id.pub_key, PUB_KEY_SIZE);
logging_port.printf(": %s\n", data);
}
#endif
return false;