mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
Made RPL DAO latency configurable
This commit is contained in:
parent
357b13b3d3
commit
8538aaf655
@ -103,7 +103,11 @@
|
||||
/* Default values for RPL constants and variables. */
|
||||
|
||||
/* The default value for the DAO timer. */
|
||||
#ifdef RPL_CONF_DAO_LATENCY
|
||||
#define RPL_DAO_LATENCY RPL_CONF_DAO_LATENCY
|
||||
#else /* RPL_CONF_DAO_LATENCY */
|
||||
#define RPL_DAO_LATENCY (CLOCK_SECOND * 4)
|
||||
#endif /* RPL_DAO_LATENCY */
|
||||
|
||||
/* Special value indicating immediate removal. */
|
||||
#define RPL_ZERO_LIFETIME 0
|
||||
|
Loading…
Reference in New Issue
Block a user