mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-04 10:27:38 +00:00
* updateContactFromFrame() bug fix
This commit is contained in:
1 parent
5250eb7440
commit
f9e893ee8d
1 file changed
+1
@@ -218,6 +218,7 @@ void MyMesh::updateContactFromFrame(ContactInfo &contact, uint32_t& last_mod, co
|
||||
i += 4;
|
||||
if (len >= i + 4) {
|
||||
memcpy(&last_mod, &frame[i], 4);
|
||||
i += 4;
|
||||
if (len >= i + 4) {
|
||||
contact.direct_mode = frame[i++];
|
||||
contact.next_seq_no = frame[i++];
|
||||
|
||||
Reference in new issue
Block a user