Increase the default X-MAC channel check rate to 4 Hz instead of 2 Hz
This commit is contained in:
parent
ba2c445676
commit
2ae7ed827c
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: xmac.c,v 1.49 2010/01/25 11:43:32 adamdunkels Exp $
|
||||
* $Id: xmac.c,v 1.50 2010/01/28 13:40:47 adamdunkels 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 / 2 - DEFAULT_ON_TIME)
|
||||
#define DEFAULT_OFF_TIME (RTIMER_ARCH_SECOND / 4 - DEFAULT_ON_TIME)
|
||||
#endif
|
||||
|
||||
#define DEFAULT_PERIOD (DEFAULT_OFF_TIME + DEFAULT_ON_TIME)
|
||||
|
|
Loading…
Reference in a new issue