Skip to content
Commit a89a5ee5 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Alberto Escolar
Browse files

net: ptp: fix offset check by adding missing int64_t cast



Add cast to NSEC_PER_SEC macro to correctly check offset.
Prior to this commit, the would eval to true incorrectly.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 5a07cf4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment