set rime addr size to 8 for uip6, restored clock resolution
This commit is contained in:
parent
76b7bf43d0
commit
8b41f3a6a8
|
@ -1,5 +1,5 @@
|
||||||
/* -*- C -*- */
|
/* -*- C -*- */
|
||||||
/* @(#)$Id: contiki-conf.h,v 1.45 2009/04/06 13:31:00 nifi Exp $ */
|
/* @(#)$Id: contiki-conf.h,v 1.46 2009/04/06 14:59:49 nifi Exp $ */
|
||||||
|
|
||||||
#ifndef CONTIKI_CONF_H
|
#ifndef CONTIKI_CONF_H
|
||||||
#define CONTIKI_CONF_H
|
#define CONTIKI_CONF_H
|
||||||
|
@ -62,13 +62,13 @@
|
||||||
#define F_CPU 2457600uL
|
#define F_CPU 2457600uL
|
||||||
|
|
||||||
/* Our clock resolution, this is the same as Unix HZ. */
|
/* Our clock resolution, this is the same as Unix HZ. */
|
||||||
#define CLOCK_CONF_SECOND 64
|
#define CLOCK_CONF_SECOND 128
|
||||||
|
|
||||||
#define BAUD2UBR(baud) ((F_CPU/baud))
|
#define BAUD2UBR(baud) ((F_CPU/baud))
|
||||||
|
|
||||||
#ifdef WITH_UIP6
|
#ifdef WITH_UIP6
|
||||||
|
|
||||||
#define RIMEADDR_CONF_SIZE 2
|
#define RIMEADDR_CONF_SIZE 8
|
||||||
|
|
||||||
#define UIP_CONF_LL_802154 1
|
#define UIP_CONF_LL_802154 1
|
||||||
#define UIP_CONF_LLH_LEN 0
|
#define UIP_CONF_LLH_LEN 0
|
||||||
|
|
Loading…
Reference in a new issue