Home
last modified time | relevance | path

Searched refs:clk_offset_us (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/sntp/
Dsntp.c110 int64_t clk_offset_us = ((rx_ts_us - orig_ts_us) + (tx_ts_us - dest_ts_us)) / 2; in parse_response() local
125 res->seconds = (res->uptime_us + clk_offset_us) / USEC_PER_SEC; in parse_response()
126 res->fraction = (res->uptime_us + clk_offset_us) % USEC_PER_SEC; in parse_response()