X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fmacros.h;h=4af10246f2ad6e646a44f242259cf8d920b12b3e;hb=39e200e1f43474a96888f97e2271728c9605ccbe;hp=de9fa0e99978f9ffd2d63565ff22ca6564eb6da0;hpb=b9e1e52093d33494bf4a8ca27c14a56a25b6e0bc;p=bertos.git 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 */