mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-02 08:03:43 +00:00
Unify full firmware profiles and add dual USB logging
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user