"Bernhard 'Gustl' Bauer" <[email protected]>
writes:
> LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (LWIP_DEBUG_F
> "dhcp_start(netif=%p) %c%c%"U16_F"\n", (void*)netif,
> netif->name[0], netif->name[1], (u16_t)netif->num));
>
> Is there any better way to do this? I like to avoid all the changes I have to
> do
> every time I change LWIP version.
#define LWIP_PLATFORM_DIAG(X) myprintf X
void myprintf(const char *fmt, ...)
{
/* vsprintf to fixed buffer */
}
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users