X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcfg%2Fmacros.h;fp=bertos%2Fcfg%2Fmacros.h;h=4af10246f2ad6e646a44f242259cf8d920b12b3e;hb=ebc977ffc34ec985c38414ada9b26ab28d4c2fc6;hp=de9fa0e99978f9ffd2d63565ff22ca6564eb6da0;hpb=7a613efa9f80222fa9642bfb6a249972c7ae6c6e;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 */