mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* TRACE packet logging fix
This commit is contained in:
parent
b03aac18c0
commit
b2fcc692ea
2 changed files with 4 additions and 0 deletions
|
|
@ -125,6 +125,8 @@ void Dispatcher::checkRecv() {
|
|||
if (pkt->getPayloadType() == PAYLOAD_TYPE_PATH || pkt->getPayloadType() == PAYLOAD_TYPE_REQ
|
||||
|| pkt->getPayloadType() == PAYLOAD_TYPE_RESPONSE || pkt->getPayloadType() == PAYLOAD_TYPE_TXT_MSG) {
|
||||
Serial.printf(" [%02X -> %02X]\n", (uint32_t)pkt->payload[1], (uint32_t)pkt->payload[0]);
|
||||
} else if (pkt->getPayloadType() == PAYLOAD_TYPE_TRACE) {
|
||||
Serial.printf(" [%02X -> %02X]\n", (uint32_t)pkt->payload[2], (uint32_t)pkt->payload[1]);
|
||||
} else {
|
||||
Serial.printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue