Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdk: packDev_t: Properly and entirely fill entire struct
The values from associated_devices_t struct after linkInfo.txFailure were not written to the buffer at all (without the proper pointer increment, they would have been written to the wrong spot anyway). So this part of the buffer also contained uninitialized memory only. I completed the function to copy the entire struct, because the endDev.deviceTimeout and timeoutCounter were particularly interesting for me to inspect child aging. See Koenkk/zigbee2mqtt#13478 (comment) @slugzero Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
- Loading branch information