Просмотр исходного кода

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>
Axel Lin 7 лет назад
Родитель
Сommit
bcd6c8a2d3
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/apps/sntp/sntp.c

+ 4 - 4
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)