Merge pull request #560 from jdede/ds6_period_configurable

Make the period for the uip-ds6 periodic task configurable
This commit is contained in:
Nicolas Tsiftes 2014-05-14 16:35:30 +02:00
commit c91782c638

View File

@ -131,7 +131,13 @@
#define ADDR_MANUAL 3
/** \brief General DS6 definitions */
#define UIP_DS6_PERIOD (CLOCK_SECOND/10) /** Period for uip-ds6 periodic task*/
/** Period for uip-ds6 periodic task*/
#ifndef UIP_DS6_CONF_PERIOD
#define UIP_DS6_PERIOD (CLOCK_SECOND/10)
#else
#define UIP_DS6_PERIOD UIP_DS6_CONF_PERIOD
#endif
#define FOUND 0
#define FREESPACE 1
#define NOSPACE 2