mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 10:15:43 +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. */
|
/* pan_id in network byte order. */
|
||||||
err_t lowpan6_set_pan_id(u16_t pan_id);
|
err_t lowpan6_set_pan_id(u16_t pan_id);
|
||||||
|
|
||||||
|
#if !NO_SYS
|
||||||
err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
||||||
|
#endif /* !NO_SYS */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -1186,6 +1186,7 @@ lowpan6_set_pan_id(u16_t pan_id)
|
|||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !NO_SYS
|
||||||
/**
|
/**
|
||||||
* Pass a received packet to tcpip_thread for input processing
|
* 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);
|
return tcpip_inpkt(p, inp, lowpan6_input);
|
||||||
}
|
}
|
||||||
|
#endif /* !NO_SYS */
|
||||||
|
|
||||||
#endif /* LWIP_IPV6 && LWIP_6LOWPAN */
|
#endif /* LWIP_IPV6 && LWIP_6LOWPAN */
|
||||||
|
Loading…
Reference in New Issue
Block a user