mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Added a configuration option for slipif for symmetry to loopif (patch #6480)
This commit is contained in:
@@ -44,6 +44,9 @@
|
||||
|
||||
#include "netif/slipif.h"
|
||||
#include "lwip/opt.h"
|
||||
|
||||
#if LWIP_HAVE_SLIPIF
|
||||
|
||||
#include "lwip/def.h"
|
||||
#include "lwip/pbuf.h"
|
||||
#include "lwip/sys.h"
|
||||
@@ -273,3 +276,4 @@ slipif_init(struct netif *netif)
|
||||
sys_thread_new(SLIPIF_THREAD_NAME, slipif_loop, netif, SLIPIF_THREAD_STACKSIZE, SLIPIF_THREAD_PRIO);
|
||||
return ERR_OK;
|
||||
}
|
||||
#endif /* LWIP_HAVE_SLIPIF */
|
||||
|
||||
Reference in New Issue
Block a user