Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/protocols/sntp/main/
Dsntp_example_main.c103 struct timeval outdelta; in app_main() local
105 adjtime(NULL, &outdelta); in app_main()
107 (long)outdelta.tv_sec, in app_main()
108 outdelta.tv_usec/1000, in app_main()
109 outdelta.tv_usec%1000); in app_main()
/hal_espressif-3.6.0/components/newlib/
Dtime.c121 int adjtime(const struct timeval *delta, struct timeval *outdelta) in adjtime() argument
124 if(outdelta != NULL){ in adjtime()
128 outdelta->tv_sec = s_adjtime_total_correction_us / 1000000L; in adjtime()
129 outdelta->tv_usec = s_adjtime_total_correction_us % 1000000L; in adjtime()
131 outdelta->tv_sec = 0; in adjtime()
132 outdelta->tv_usec = 0; in adjtime()
/hal_espressif-3.6.0/components/lwip/apps/sntp/
Dsntp.c85 struct timeval outdelta; in sntp_get_sync_status() local
86 adjtime(NULL, &outdelta); in sntp_get_sync_status()
87 if (outdelta.tv_sec == 0 && outdelta.tv_usec == 0) { in sntp_get_sync_status()
/hal_espressif-3.6.0/components/newlib/test/
Dtest_time.c177 struct timeval outdelta; in adjtimeTask2() local
184 adjtime(&delta, &outdelta); in adjtimeTask2()
/hal_espressif-3.6.0/examples/protocols/sntp/
DREADME.md82 `int adjtime(const struct timeval *delta, struct timeval *outdelta)`