PTP - incorrect clock offset calculation #76718
Labels
area: PTP
IEEE 1588 PTP Protocol
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Milestone
Describe the bug
Routine computing PTP clock offset has a wrong sign. Additionally overflow and underflow is not taken into account.
To Reproduce
Compile PTP sample with debug logging enabled and observe PTP clock value
Expected behavior
PTP clock shouldn't jitter
Impact
PTP Clock offset is incorrectly computed
The text was updated successfully, but these errors were encountered: