Skip to content
Commit 03a3c992 authored by Ramakrishna Pallala's avatar Ramakrishna Pallala Committed by Anas Nashif
Browse files

lib: posix: clock: Use k_uptime_get() to compute tv_nsec



Use k_uptime_get() to compute both tv_sec and tv_nsec members
of timespec structure.

Fixes #8009

Signed-off-by: default avatarRamakrishna Pallala <ramakrishna.pallala@intel.com>
parent 158ea970
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment