ping example app throws lwip assert (#309)

Now LWIP_PLATFORM_ASSERT has been fixed we're seeing an assert for the
ping example app.
It sets the SO_RCVTIMEO socket option which is not enabled.

Fixes #308
This commit is contained in:
Peter Harper
2023-01-04 18:58:44 +00:00
committed by GitHub
parent 6c3f2dad5c
commit a605c65774

View File

@@ -16,6 +16,10 @@
// not necessary, can be done either way
#define LWIP_TCPIP_CORE_LOCKING_INPUT 1
// ping_thread sets socket receive timeout, so enable this feature
#define LWIP_SO_RCVTIMEO 1
#endif
#endif