From 4f3fc1c40425dd919c76bd9d7d591c915b615025 Mon Sep 17 00:00:00 2001 From: joxe Date: Sun, 3 Oct 2010 22:46:53 +0000 Subject: [PATCH] fixed xmac to use new channel check define name --- core/net/mac/xmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/mac/xmac.c b/core/net/mac/xmac.c index 4d13ff193..472a25ace 100644 --- a/core/net/mac/xmac.c +++ b/core/net/mac/xmac.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: xmac.c,v 1.58 2010/06/15 19:22:25 adamdunkels Exp $ + * $Id: xmac.c,v 1.59 2010/10/03 22:46:53 joxe Exp $ */ /** @@ -114,7 +114,7 @@ struct xmac_hdr { #ifdef XMAC_CONF_OFF_TIME #define DEFAULT_OFF_TIME (XMAC_CONF_OFF_TIME) #else -#define DEFAULT_OFF_TIME (RTIMER_ARCH_SECOND / MAC_CHANNEL_CHECK_RATE - DEFAULT_ON_TIME) +#define DEFAULT_OFF_TIME (RTIMER_ARCH_SECOND / NETSTACK_RDC_CHANNEL_CHECK_RATE - DEFAULT_ON_TIME) #endif #define DEFAULT_PERIOD (DEFAULT_OFF_TIME + DEFAULT_ON_TIME)