From ebc977ffc34ec985c38414ada9b26ab28d4c2fc6 Mon Sep 17 00:00:00 2001 From: Daniele Basile Date: Tue, 17 Jan 2012 10:49:05 +0100 Subject: [PATCH] Fix doxygen warnings. --- bertos/cfg/macros.h | 4 ++-- bertos/net/syslog.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bertos/cfg/macros.h b/bertos/cfg/macros.h index de9fa0e9..4af10246 100644 --- a/bertos/cfg/macros.h +++ b/bertos/cfg/macros.h @@ -449,11 +449,11 @@ INLINE bool is_aligned(const void *addr, size_t size) /** * Macro to unpack the ip addres from lwip format in 4 int - * \param struct ip_addr ip_addr; + * \param addr is struct ip_addr ip_addr; * \return for int variable separated from comma * - * \usage: * \code + * //Upack into 4 int the lwip ip address * LOG_INFO("dhcp ok: ip = %d.%d.%d.%d\n", IP_ADDR_TO_INT_TUPLE(netif.ip_addr.addr)); * \endcode */ diff --git a/bertos/net/syslog.c b/bertos/net/syslog.c index a8524bd6..d11bd201 100644 --- a/bertos/net/syslog.c +++ b/bertos/net/syslog.c @@ -72,7 +72,7 @@ struct ip_addr syslog_ip(void) /** * Change the current syslog server ip address. - * \param lwip ip_address (you could use the macro IP4_ADDR() to get it form ip address) + * \param addr lwip ip_address (you could use the macro IP4_ADDR() to get it form ip address) */ void syslog_setIp(struct ip_addr addr) { @@ -125,8 +125,8 @@ int syslog_printf(const char *fmt, ...) /** * Init the syslog message. * - * \param syslog context - * \param lwip ip_address (you could use the macro IP4_ADDR() to get it form ip address) + * \param syslog_ctx syslog context + * \param addr lwip ip_address (you could use the macro IP4_ADDR() to get it form ip address) */ void syslog_init(SysLog *syslog_ctx, struct ip_addr addr) { -- 2.25.1