mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-06 00:39:59 +00:00
Removed the LWIP_HAVE_SLIPIF option: either the linker removes it when not used or you'll have to not compile it
This commit is contained in:
parent
71dc8f8f53
commit
b4efa33b7c
@ -102,7 +102,7 @@
|
|||||||
* (the array of lwip-internal cyclic timers is still provided)
|
* (the array of lwip-internal cyclic timers is still provided)
|
||||||
* (check NO_SYS_NO_TIMERS for compatibility to old versions)
|
* (check NO_SYS_NO_TIMERS for compatibility to old versions)
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_TIMERS || defined __DOXYGEN__
|
#if !defined LWIP_TIMERS || defined __DOXYGEN__
|
||||||
#ifdef NO_SYS_NO_TIMERS
|
#ifdef NO_SYS_NO_TIMERS
|
||||||
#define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
|
#define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
|
||||||
#else
|
#else
|
||||||
@ -1524,26 +1524,6 @@
|
|||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
------------------------------------
|
|
||||||
---------- SLIPIF options ----------
|
|
||||||
------------------------------------
|
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* @defgroup lwip_opts_slip SLIP interface
|
|
||||||
* @ingroup lwip_opts
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* LWIP_HAVE_SLIPIF==1: Support slip interface and slipif.c
|
|
||||||
*/
|
|
||||||
#if !defined LWIP_HAVE_SLIPIF || defined __DOXYGEN__
|
|
||||||
#define LWIP_HAVE_SLIPIF 0
|
|
||||||
#endif
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
------------------------------------
|
------------------------------------
|
||||||
---------- Thread options ----------
|
---------- Thread options ----------
|
||||||
|
@ -62,8 +62,6 @@
|
|||||||
#include "netif/slipif.h"
|
#include "netif/slipif.h"
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
|
|
||||||
#if LWIP_HAVE_SLIPIF
|
|
||||||
|
|
||||||
#include "lwip/def.h"
|
#include "lwip/def.h"
|
||||||
#include "lwip/pbuf.h"
|
#include "lwip/pbuf.h"
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
@ -555,5 +553,3 @@ slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* SLIP_RX_FROM_ISR */
|
#endif /* SLIP_RX_FROM_ISR */
|
||||||
|
|
||||||
#endif /* LWIP_HAVE_SLIPIF */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user