mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Fixed an SDCC compile error when UIP_CONF_ROUTER is 0. UIP_CONF_ROUTER can be configured in project-conf.h
This commit is contained in:
parent
2f89f41b5a
commit
0fc5ec8d5c
@ -182,7 +182,15 @@
|
||||
#define UIP_CONF_UDP_CHECKSUMS 1
|
||||
|
||||
/* ND and Routing */
|
||||
#define UIP_CONF_ROUTER 1
|
||||
#ifndef UIP_CONF_ROUTER
|
||||
#define UIP_CONF_ROUTER 1
|
||||
#endif
|
||||
|
||||
/* Prevent SDCC compile error when UIP_CONF_ROUTER == 0 */
|
||||
#if !UIP_CONF_ROUTER
|
||||
#define UIP_CONF_DS6_AADDR_NBU 1
|
||||
#endif
|
||||
|
||||
#define UIP_CONF_ND6_SEND_RA 0
|
||||
#define UIP_CONF_IP_FORWARD 0
|
||||
#define RPL_CONF_STATS 0
|
||||
|
@ -201,7 +201,15 @@
|
||||
#define UIP_CONF_UDP_CHECKSUMS 1
|
||||
|
||||
/* ND and Routing */
|
||||
#ifndef UIP_CONF_ROUTER
|
||||
#define UIP_CONF_ROUTER 1
|
||||
#endif
|
||||
|
||||
/* Prevent SDCC compile error when UIP_CONF_ROUTER == 0 */
|
||||
#if !UIP_CONF_ROUTER
|
||||
#define UIP_CONF_DS6_AADDR_NBU 1
|
||||
#endif
|
||||
|
||||
#define UIP_CONF_ND6_SEND_RA 0
|
||||
#define UIP_CONF_IP_FORWARD 0
|
||||
#define RPL_CONF_STATS 0
|
||||
|
Loading…
Reference in New Issue
Block a user