mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-12 06:25:24 +00:00
Move compower configuration out of the non-IPv6 conditional clause.
This commit is contained in:
@@ -34,6 +34,11 @@
|
|||||||
#define CC2420_CONF_AUTOACK 1
|
#define CC2420_CONF_AUTOACK 1
|
||||||
#endif /* CC2420_CONF_AUTOACK */
|
#endif /* CC2420_CONF_AUTOACK */
|
||||||
|
|
||||||
|
/* Specify whether the RDC layer should enable
|
||||||
|
per-packet power profiling. */
|
||||||
|
#define CONTIKIMAC_CONF_COMPOWER 1
|
||||||
|
#define XMAC_CONF_COMPOWER 1
|
||||||
|
#define CXMAC_CONF_COMPOWER 1
|
||||||
|
|
||||||
#if WITH_UIP6
|
#if WITH_UIP6
|
||||||
/* Network setup for IPv6 */
|
/* Network setup for IPv6 */
|
||||||
@@ -64,10 +69,6 @@
|
|||||||
#define XMAC_CONF_ANNOUNCEMENTS 0
|
#define XMAC_CONF_ANNOUNCEMENTS 0
|
||||||
#define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
|
#define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
|
||||||
|
|
||||||
#define CONTIKIMAC_CONF_COMPOWER 1
|
|
||||||
#define XMAC_CONF_COMPOWER 1
|
|
||||||
#define CXMAC_CONF_COMPOWER 1
|
|
||||||
|
|
||||||
#ifndef COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS
|
#ifndef COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS
|
||||||
#define COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS 32
|
#define COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS 32
|
||||||
#endif /* COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS */
|
#endif /* COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS */
|
||||||
|
Reference in New Issue
Block a user