mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
lwip2: fix disconnection/reconnection issue
also: improve version string remove useless message
This commit is contained in:
parent
7999f5c29c
commit
2335f18f5a
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Subproject commit bdd68addcfed8f2e3b484b465369dac0407d3f5e
|
||||
Subproject commit 4c1f9e77c59a5ab97fb650fe0f2a9c46fcc7483c
|
@ -17,7 +17,7 @@
|
||||
#define ULWIPDEBUG 0 // 0 or 1 (trigger lwip debug)
|
||||
#define ULWIPASSERT 0 // 0 or 1 (trigger lwip self-check, 0 saves flash)
|
||||
|
||||
#define STRING_IN_FLASH 0 // *print("fmt is stored in flash")
|
||||
#define STRING_IN_FLASH 1 // *print("fmt is stored in flash")
|
||||
|
||||
#define ROTBUFLEN_BIT 11 // (UDEBUGSTORE=1) doprint()'s buffer: 11=2048B
|
||||
|
||||
@ -82,10 +82,7 @@ int doprint_minus (const char* format, ...) __attribute__ ((format (printf, 1, 2
|
||||
#define uprint(x...) do { (void)0; } while (0)
|
||||
#endif
|
||||
|
||||
#if UNDEBUG
|
||||
#define uassert(assertion...) do { (void)0; } while (0)
|
||||
#else // !defined(UNDEBUG)
|
||||
#define uassert(assertion...) \
|
||||
#define udoassert(assertion...) \
|
||||
do { if ((assertion) == 0) { \
|
||||
static const char assrt[] ICACHE_RODATA_ATTR STORE_ATTR = #assertion " wrong@"; \
|
||||
os_printf_plus(assrt); \
|
||||
@ -95,8 +92,15 @@ do { if ((assertion) == 0) { \
|
||||
os_printf_plus(assrt_line, __LINE__); \
|
||||
uhalt(); \
|
||||
} } while (0)
|
||||
|
||||
#if UNDEBUG
|
||||
#define uassert(assertion...) do { (void)0; } while (0)
|
||||
#else // !defined(UNDEBUG)
|
||||
#define uassert(assertion...) udoassert(assertion)
|
||||
#endif // !defined(UNDEBUG)
|
||||
|
||||
#define ualwaysassert(assertion...) udoassert(assertion)
|
||||
|
||||
#define uerror(x...) do { doprint(x); } while (0)
|
||||
#define uhalt() do { *((int*)0) = 0; /* this triggers gdb */ } while (0)
|
||||
#define nl() do { uprint("\n"); } while (0)
|
||||
|
@ -1,6 +1,5 @@
|
||||
// generated by makefiles/make-lwip2-hash
|
||||
#ifndef LWIP_HASH_H
|
||||
#define LWIP_HASH_H
|
||||
#define LWIP_HASH 0x92f23d6
|
||||
#define LWIP_HASH_STR "92f23d6(tag:STABLE-2_0_3_RELEASE)"
|
||||
#define LWIP_HASH_STR "STABLE-2_0_3_RELEASE/glue:arduino-2.4.0-7-g7c20da9"
|
||||
#endif // LWIP_HASH_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user