apps/sntp: Fix parameter name in doxygen comments

Make the parameter name in doxygen comments consistent wit the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2018-08-19 21:41:47 +08:00
parent 0674aa60fe
commit bcd6c8a2d3

View File

@ -793,8 +793,8 @@ sntp_setserver(u8_t idx, const ip_addr_t *server)
/** /**
* Initialize one of the NTP servers by IP address, required by DHCP * Initialize one of the NTP servers by IP address, required by DHCP
* *
* @param numdns the index of the NTP server to set must be < SNTP_MAX_SERVERS * @param num the index of the NTP server to set must be < SNTP_MAX_SERVERS
* @param dnsserver IP address of the NTP server to set * @param server IP address of the NTP server to set
*/ */
void void
dhcp_set_ntp_servers(u8_t num, const ip4_addr_t *server) dhcp_set_ntp_servers(u8_t num, const ip4_addr_t *server)
@ -837,8 +837,8 @@ sntp_getserver(u8_t idx)
/** /**
* Initialize one of the NTP servers by name * Initialize one of the NTP servers by name
* *
* @param numdns the index of the NTP server to set must be < SNTP_MAX_SERVERS * @param idx the index of the NTP server to set must be < SNTP_MAX_SERVERS
* @param dnsserver DNS name of the NTP server to set, to be resolved at contact time * @param server DNS name of the NTP server to set, to be resolved at contact time
*/ */
void void
sntp_setservername(u8_t idx, const char *server) sntp_setservername(u8_t idx, const char *server)