mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-04 21:39:49 +00:00
fixed compiling lowpan6 for NO_SYS==1
This commit is contained in:
parent
2f7e6d0661
commit
92f385aaed
@ -73,7 +73,9 @@ err_t lowpan6_if_init(struct netif *netif);
|
||||
/* pan_id in network byte order. */
|
||||
err_t lowpan6_set_pan_id(u16_t pan_id);
|
||||
|
||||
#if !NO_SYS
|
||||
err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
||||
#endif /* !NO_SYS */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -1186,6 +1186,7 @@ lowpan6_set_pan_id(u16_t pan_id)
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
#if !NO_SYS
|
||||
/**
|
||||
* Pass a received packet to tcpip_thread for input processing
|
||||
*
|
||||
@ -1198,5 +1199,6 @@ tcpip_6lowpan_input(struct pbuf *p, struct netif *inp)
|
||||
{
|
||||
return tcpip_inpkt(p, inp, lowpan6_input);
|
||||
}
|
||||
#endif /* !NO_SYS */
|
||||
|
||||
#endif /* LWIP_IPV6 && LWIP_6LOWPAN */
|
||||
|
Loading…
x
Reference in New Issue
Block a user