mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Networking: enable Socket IP reuse
This commit is contained in:
parent
5230b535a6
commit
fa80dfa841
@ -69,6 +69,12 @@ extern "C"
|
|||||||
#define MEMP_MEM_MALLOC 1
|
#define MEMP_MEM_MALLOC 1
|
||||||
#define LWIP_NETCONN_SEM_PER_THREAD 0
|
#define LWIP_NETCONN_SEM_PER_THREAD 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SO_REUSE==1: Enable SO_REUSEADDR option.
|
||||||
|
*/
|
||||||
|
#ifndef SO_REUSE
|
||||||
|
#define SO_REUSE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NO_SYS 0
|
#define NO_SYS 0
|
||||||
#define LWIP_SOCKET (NO_SYS==0)
|
#define LWIP_SOCKET (NO_SYS==0)
|
||||||
|
Loading…
Reference in New Issue
Block a user