sforkowany z mirror/meshtastic-firmware
oops typo
rodzic
0c0c0babba
commit
8739469db3
|
@ -231,7 +231,7 @@ bool Router::perhapsDecode(MeshPacket *p)
|
|||
crypto->decrypt(p->from, p->id, p->encrypted.size, bytes);
|
||||
|
||||
// Take those raw bytes and convert them back into a well structured protobuf we can understand
|
||||
memset(p->decoded, 0, sizeof(p->decoded));
|
||||
memset(&p->decoded, 0, sizeof(p->decoded));
|
||||
if (!pb_decode_from_bytes(bytes, p->encrypted.size, Data_fields, &p->decoded)) {
|
||||
DEBUG_MSG("Invalid protobufs in received mesh packet (bad psk?!\n");
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue