Disable timesynch by default - it is not well-tested enough yet.

This commit is contained in:
adamdunkels 2011-01-09 21:04:14 +00:00
parent a6fe42f60f
commit 34f2d3e025

View file

@ -1,5 +1,5 @@
/* -*- C -*- */ /* -*- C -*- */
/* @(#)$Id: contiki-conf.h,v 1.90 2010/12/16 22:51:22 adamdunkels Exp $ */ /* @(#)$Id: contiki-conf.h,v 1.91 2011/01/09 21:04:14 adamdunkels Exp $ */
#ifndef CONTIKI_CONF_H #ifndef CONTIKI_CONF_H
#define CONTIKI_CONF_H #define CONTIKI_CONF_H
@ -50,11 +50,6 @@
/* Network setup for non-IPv6 (rime). */ /* Network setup for non-IPv6 (rime). */
#define TIMESYNCH_CONF_ENABLED 1
#if TIMESYNCH_CONF_ENABLED
#define CC2420_CONF_SFD_TIMESTAMPS 1
#endif /* TIMESYNCH_CONF_ENABLED */
#define NETSTACK_CONF_NETWORK rime_driver #define NETSTACK_CONF_NETWORK rime_driver
#define COLLECT_CONF_ANNOUNCEMENTS 1 #define COLLECT_CONF_ANNOUNCEMENTS 1
@ -74,6 +69,16 @@
#define QUEUEBUF_CONF_NUM 16 #define QUEUEBUF_CONF_NUM 16
#endif /* QUEUEBUF_CONF_NUM */ #endif /* QUEUEBUF_CONF_NUM */
#ifndef TIMESYNCH_CONF_ENABLED
#define TIMESYNCH_CONF_ENABLED 0
#endif /* TIMESYNCH_CONF_ENABLED */
#if TIMESYNCH_CONF_ENABLED
/* CC2420 SDF timestamps must be on if timesynch is enabled. */
#undef CC2420_CONF_SFD_TIMESTAMPS
#define CC2420_CONF_SFD_TIMESTAMPS 1
#endif /* TIMESYNCH_CONF_ENABLED */
#endif /* WITH_UIP6 */ #endif /* WITH_UIP6 */
#define PACKETBUF_CONF_ATTRS_INLINE 1 #define PACKETBUF_CONF_ATTRS_INLINE 1