[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] undef LWIP_DEBUG or PPP_DEBUG the ppp will not work
From: |
RGW |
Subject: |
[lwip-users] undef LWIP_DEBUG or PPP_DEBUG the ppp will not work |
Date: |
Mon, 15 May 2017 19:26:04 +0800 |
Hi,
If I define LWIP_DEBUG and PPP_DEBUG on, ppp and debug info works well
#define LWIP_DEBUG
#define PPP_DEBUG LWIP_DBG_ON
If I turn off the marco, ppp will not work.
My printf like this:
#define LWIP_PLATFORM_DIAG(message) printf_safe message
#define LWIP_PLATFORM_ASSERT(x) do {printf_safe("Assertion \"%s\" failed at line %d in %s\n", \
x, __LINE__, __FILE__); while(1);} while(0)
and printf_safe is a wrapper of printf with mutex.
Thanks,
RGW
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] undef LWIP_DEBUG or PPP_DEBUG the ppp will not work,
RGW <=