mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-09 16:07:31 +00:00
* squashed
This commit is contained in:
1 parent
428a95c643
commit
fe298318be
19 files changed
+755
-204
No files matched your search
@@ -358,8 +358,10 @@ Packet* Dispatcher::obtainNewPacket() {
|
||||
if (pkt == NULL) {
|
||||
_err_flags |= ERR_EVENT_FULL;
|
||||
} else {
|
||||
pkt->header = 0;
|
||||
pkt->payload_len = pkt->path_len = 0;
|
||||
pkt->_snr = 0;
|
||||
pkt->transport_codes[0] = pkt->transport_codes[1] = 0;
|
||||
}
|
||||
return pkt;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user