Make the period for the uip-ds6 periodic task configurable

This commit is contained in:
Jens Dede 2014-02-07 12:34:49 +01:00
parent a1cd642e6e
commit 5e5b6fc3f4

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_CONF_DS6_PERIOD
#define UIP_DS6_PERIOD (CLOCK_SECOND/10)
#else
#define UIP_DS6_PERIOD UIP_CONF_DS6_PERIOD
#endif
#define FOUND 0
#define FREESPACE 1
#define NOSPACE 2