fixed compiling lowpan6 for NO_SYS==1

This commit is contained in:
goldsimon 2016-08-01 09:35:59 +02:00
parent 2f7e6d0661
commit 92f385aaed
2 changed files with 4 additions and 0 deletions

View File

@ -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
}

View File

@ -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 */