Skip to content

PTP - incorrect clock offset calculation #76718

@awojasinski

Description

@awojasinski

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

Metadata

Metadata

Assignees

Labels

area: PTPIEEE 1588 PTP ProtocolbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions