Skip to content
Commit 205b7f24 authored by Alex Sergeev's avatar Alex Sergeev Committed by Anas Nashif
Browse files

drivers: ethernet: stm32: Bugfix PTP clock read on second boundary



Current version of STM32 PTP clock reads current PTP time by querying
second and nanosecond registers sequentially. It is possible for second
to roll over between reading second and nanosecond registers, causing
returned time to be off by a second. This bugfix resolves that issue.

Signed-off-by: default avatarAlex Sergeev <asergeev@carbonrobotics.com>
parent 4f39b62d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment