From 6be7e221a55a3b80cfc03ceaf8cea86207982238 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 24 May 2016 22:29:18 +0200 Subject: [PATCH] Fix a few doxygen warnings --- src/apps/httpd/httpd.c | 3 ++- src/core/ipv4/dhcp.c | 4 ++-- src/include/lwip/apps/sntp_opts.h | 9 ++++----- src/include/lwip/dhcp.h | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/apps/httpd/httpd.c b/src/apps/httpd/httpd.c index 1cb8adbb..3e3b9b23 100644 --- a/src/apps/httpd/httpd.c +++ b/src/apps/httpd/httpd.c @@ -110,7 +110,8 @@ /** These defines check whether tcp_write has to copy data or not */ /** This was TI's check whether to let TCP copy data or not -#define HTTP_IS_DATA_VOLATILE(hs) ((hs->file < (char *)0x20000000) ? 0 : TCP_WRITE_FLAG_COPY)*/ + * \#define HTTP_IS_DATA_VOLATILE(hs) ((hs->file < (char *)0x20000000) ? 0 : TCP_WRITE_FLAG_COPY) + */ #ifndef HTTP_IS_DATA_VOLATILE #if LWIP_HTTPD_SSI /* Copy for SSI files, no copy for non-SSI files */ diff --git a/src/core/ipv4/dhcp.c b/src/core/ipv4/dhcp.c index 42cf7c24..4c7f3549 100644 --- a/src/core/ipv4/dhcp.c +++ b/src/core/ipv4/dhcp.c @@ -91,8 +91,8 @@ /** Default for DHCP_GLOBAL_XID is 0xABCD0000 * This can be changed by defining DHCP_GLOBAL_XID and DHCP_GLOBAL_XID_HEADER, e.g. - * #define DHCP_GLOBAL_XID_HEADER "stdlib.h" - * #define DHCP_GLOBAL_XID rand() + * \#define DHCP_GLOBAL_XID_HEADER "stdlib.h" + * \#define DHCP_GLOBAL_XID rand() */ #ifdef DHCP_GLOBAL_XID_HEADER #include DHCP_GLOBAL_XID_HEADER /* include optional starting XID generation prototypes */ diff --git a/src/include/lwip/apps/sntp_opts.h b/src/include/lwip/apps/sntp_opts.h index b4871d79..063f549a 100644 --- a/src/include/lwip/apps/sntp_opts.h +++ b/src/include/lwip/apps/sntp_opts.h @@ -58,15 +58,14 @@ #define SNTP_GET_SERVERS_FROM_DHCP LWIP_DHCP_GET_NTP_SRV #endif -/* Set this to 1 to support DNS names (or IP address strings) to set sntp servers */ +/** Set this to 1 to support DNS names (or IP address strings) to set sntp servers + * One server address/name can be defined as default if SNTP_SERVER_DNS == 1: + * \#define SNTP_SERVER_ADDRESS "pool.ntp.org" + */ #ifndef SNTP_SERVER_DNS #define SNTP_SERVER_DNS 0 #endif -/** One server address/name can be defined as default if SNTP_SERVER_DNS == 1: - * #define SNTP_SERVER_ADDRESS "pool.ntp.org" - */ - /** * SNTP_DEBUG: Enable debugging for SNTP. */ diff --git a/src/include/lwip/dhcp.h b/src/include/lwip/dhcp.h index 3e2c6d29..ca19a2a2 100644 --- a/src/include/lwip/dhcp.h +++ b/src/include/lwip/dhcp.h @@ -204,9 +204,9 @@ void dhcp_fine_tmr(void); #define DHCP_STATE_SELECTING 6 #define DHCP_STATE_INFORMING 7 #define DHCP_STATE_CHECKING 8 -/** not yet implemented #define DHCP_STATE_PERMANENT 9 */ +/** not yet implemented \#define DHCP_STATE_PERMANENT 9 */ #define DHCP_STATE_BOUND 10 -/** not yet implemented #define DHCP_STATE_RELEASING 11 */ +/** not yet implemented \#define DHCP_STATE_RELEASING 11 */ #define DHCP_STATE_BACKING_OFF 12 /** AUTOIP cooperation flags */