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:
goldsimon
2016-07-28 09:02:19 +02:00
parent 71dc8f8f53
commit b4efa33b7c
2 changed files with 1 additions and 25 deletions

View File

@@ -62,8 +62,6 @@
#include "netif/slipif.h"
#include "lwip/opt.h"
#if LWIP_HAVE_SLIPIF
#include "lwip/def.h"
#include "lwip/pbuf.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 /* LWIP_HAVE_SLIPIF */