From 5e5b6fc3f480317c4e27b8c2e25d7638729ca359 Mon Sep 17 00:00:00 2001 From: Jens Dede Date: Fri, 7 Feb 2014 12:34:49 +0100 Subject: [PATCH] Make the period for the uip-ds6 periodic task configurable --- core/net/ipv6/uip-ds6.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/net/ipv6/uip-ds6.h b/core/net/ipv6/uip-ds6.h index 45ec3c7a0..5c9e4d3c7 100644 --- a/core/net/ipv6/uip-ds6.h +++ b/core/net/ipv6/uip-ds6.h @@ -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