mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Trivial change: correct sense of comment about LWIP_ERROR macro
This commit is contained in:
parent
7be9e292dc
commit
40d4a8fc2f
@ -66,7 +66,7 @@
|
|||||||
#define LWIP_ASSERT(x,y)
|
#define LWIP_ASSERT(x,y)
|
||||||
#endif /* LWIP_NOASSERT */
|
#endif /* LWIP_NOASSERT */
|
||||||
|
|
||||||
/** print "m" message only if "e" is true, and execute "h" expression */
|
/** if "e" isn't true, then print "m" message and execute "h" expression */
|
||||||
#ifndef LWIP_ERROR
|
#ifndef LWIP_ERROR
|
||||||
#define LWIP_ERROR(m,e,h) do { if (!(e)) { LWIP_PLATFORM_ASSERT(m); h;}} while(0)
|
#define LWIP_ERROR(m,e,h) do { if (!(e)) { LWIP_PLATFORM_ASSERT(m); h;}} while(0)
|
||||||
#endif /* LWIP_ERROR */
|
#endif /* LWIP_ERROR */
|
||||||
|
Loading…
Reference in New Issue
Block a user