mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-05 07:17:08 +00:00
gnrc/rpl: Move GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES to 'CONFIG_'
This commit is contained in:
@@ -496,8 +496,8 @@ extern netstats_rpl_t gnrc_rpl_netstats;
|
||||
/**
|
||||
* @brief Number of DIS retries before parent times out
|
||||
*/
|
||||
#ifndef GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES
|
||||
#define GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES (3)
|
||||
#ifndef CONFIG_GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES
|
||||
#define CONFIG_GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES (3)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@@ -72,7 +72,8 @@ extern evtimer_msg_t gnrc_rpl_evtimer;
|
||||
/**
|
||||
* @brief Parent has timed out.
|
||||
*/
|
||||
#define GNRC_RPL_PARENT_TIMEOUT (GNRC_RPL_PARENT_STALE + GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES)
|
||||
#define GNRC_RPL_PARENT_TIMEOUT (GNRC_RPL_PARENT_STALE + \
|
||||
CONFIG_GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user