Introduced yet another high-level config macro.
This commit is contained in:
parent
852d2c0283
commit
bb19396d21
3 changed files with 9 additions and 7 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* @(#)$Id: 6502def.h,v 1.8 2008/01/01 17:44:24 oliverschmidt Exp $
|
||||
* @(#)$Id: 6502def.h,v 1.9 2008/01/01 19:47:03 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __6502DEF_H__
|
||||
|
@ -62,6 +62,12 @@ typedef unsigned short uip_stats_t;
|
|||
#define UIP_ARCH_ADD32 1
|
||||
#define UIP_ARCH_CHKSUM 1
|
||||
|
||||
#if WITH_LOGGING
|
||||
#define LOG_CONF_ENABLED 1
|
||||
#else /* WITH_LOGGING */
|
||||
#define LOG_CONF_ENABLED 0
|
||||
#endif /* WITH_LOGGING */
|
||||
|
||||
#if MTU_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + MTU_SIZE)
|
||||
#else /* MTU_SIZE */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.12 2008/01/01 18:49:50 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.13 2008/01/01 19:47:53 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -40,8 +40,6 @@
|
|||
|
||||
#include "pfs.h"
|
||||
|
||||
#define LOG_CONF_ENABLED 1
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define CTK_CONF_MENU_KEY CH_ESC
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.14 2007/12/23 13:57:25 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.15 2008/01/01 19:48:46 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "6502def.h"
|
||||
|
||||
#define LOG_CONF_ENABLED 1
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define CTK_CONF_MENU_KEY CH_F1
|
||||
|
|
Loading…
Reference in a new issue