Home
last modified time | relevance | path

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

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