Made RPL DAO latency configurable

This commit is contained in:
Adam Dunkels 2012-11-26 19:34:22 +01:00
parent 357b13b3d3
commit 8538aaf655

View file

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