Add user configuration of DIO preference field

This commit is contained in:
Laurent Deru 2013-07-02 13:41:19 +02:00
parent 49bf7cc241
commit 3b503da680
2 changed files with 10 additions and 0 deletions

View file

@ -186,4 +186,13 @@
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
#endif
/*
* DAG preference field
*/
#ifdef RPL_CONF_PREFERENCE
#define RPL_PREFERENCE RPL_CONF_PREFERENCE
#else
#define RPL_PREFERENCE 0
#endif
#endif /* RPL_CONF_H */