From bcd6c8a2d3fbeddaf457a9b37404d6bc287c7644 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 19 Aug 2018 21:41:47 +0800 Subject: [PATCH] apps/sntp: Fix parameter name in doxygen comments Make the parameter name in doxygen comments consistent wit the code. Signed-off-by: Axel Lin --- src/apps/sntp/sntp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/sntp/sntp.c b/src/apps/sntp/sntp.c index 000d975f..b7ff56ad 100644 --- a/src/apps/sntp/sntp.c +++ b/src/apps/sntp/sntp.c @@ -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 * - * @param numdns the index of the NTP server to set must be < SNTP_MAX_SERVERS - * @param dnsserver IP address of the NTP server to set + * @param num the index of the NTP server to set must be < SNTP_MAX_SERVERS + * @param server IP address of the NTP server to set */ void 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 * - * @param numdns 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 idx the index of the NTP server to set must be < SNTP_MAX_SERVERS + * @param server DNS name of the NTP server to set, to be resolved at contact time */ void sntp_setservername(u8_t idx, const char *server)