Home
last modified time | relevance | path

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

/NetX-Duo-v6.4.1/samples/
Dmain.c170 static UINT sntp_server_index; variable
652 printf("SNTP Time Sync...%s\r\n", sntp_servers[sntp_server_index]); in sntp_time_sync()
661 …status = nx_dns_host_by_name_get(&dns_0, (UCHAR *)sntp_servers[sntp_server_index], &sntp_server_ad… in sntp_time_sync()
678sntp_server_index = (sntp_server_index + 1) % (sizeof(sntp_servers) / sizeof(sntp_servers[0])); in sntp_time_sync()