Switched name to CFS_CONF_OFFSET_TYPE to emphasize that it is a configurable option.

This commit is contained in:
nvt-se 2009-03-01 12:00:00 +00:00
parent aa2f7a3399
commit 47d70f2ae3
2 changed files with 5 additions and 5 deletions

View File

@ -54,17 +54,17 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: cfs.h,v 1.16 2009/02/28 13:40:25 nvt-se Exp $ * $Id: cfs.h,v 1.17 2009/03/01 12:00:00 nvt-se Exp $
*/ */
#ifndef __CFS_H__ #ifndef __CFS_H__
#define __CFS_H__ #define __CFS_H__
#include "contiki.h" #include "contiki.h"
#ifndef CFS_OFFSET_TYPE #ifndef CFS_CONF_OFFSET_TYPE
typedef unsigned cfs_offset_t; typedef unsigned cfs_offset_t;
#else #else
typedef CFS_OFFSET_TYPE cfs_offset_t; typedef CFS_CONF_OFFSET_TYPE cfs_offset_t;
#endif #endif
struct cfs_dir { struct cfs_dir {

View File

@ -1,5 +1,5 @@
/* -*- C -*- */ /* -*- C -*- */
/* @(#)$Id: contiki-conf.h,v 1.37 2009/02/28 13:41:16 nvt-se Exp $ */ /* @(#)$Id: contiki-conf.h,v 1.38 2009/03/01 12:00:00 nvt-se Exp $ */
#ifndef CONTIKI_CONF_H #ifndef CONTIKI_CONF_H
#define CONTIKI_CONF_H #define CONTIKI_CONF_H
@ -19,7 +19,7 @@
#define TIMESYNCH_CONF_ENABLED 1 #define TIMESYNCH_CONF_ENABLED 1
#define CC2420_CONF_TIMESTAMPS 1 #define CC2420_CONF_TIMESTAMPS 1
#define CFS_OFFSET_TYPE long #define CFS_CONF_OFFSET_TYPE long
#define PROFILE_CONF_ON 0 #define PROFILE_CONF_ON 0
#define ENERGEST_CONF_ON 1 #define ENERGEST_CONF_ON 1