Activate uIP logging when "high level config" logging is enabled.
This commit is contained in:
parent
4ff6b5460a
commit
26c9ec41f7
5 changed files with 7 additions and 11 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* @(#)$Id: 6502def.h,v 1.17 2009/03/01 12:26:53 oliverschmidt Exp $
|
||||
* @(#)$Id: 6502def.h,v 1.18 2010/01/30 20:48:31 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __6502DEF_H__
|
||||
|
@ -68,8 +68,10 @@ typedef unsigned short uip_stats_t;
|
|||
|
||||
#if WITH_LOGGING
|
||||
#define LOG_CONF_ENABLED 1
|
||||
#define UIP_CONF_LOGGING 1
|
||||
#else /* WITH_LOGGING */
|
||||
#define LOG_CONF_ENABLED 0
|
||||
#define UIP_CONF_LOGGING 0
|
||||
#endif /* WITH_LOGGING */
|
||||
|
||||
#if MTU_SIZE
|
||||
|
|
|
@ -43,7 +43,7 @@ MTU_SIZE
|
|||
|
||||
WITH_LOGGING
|
||||
- Default: 0
|
||||
- Purpose: Have log_message() write messages to the screen.
|
||||
- Purpose: Have log_message() and UIP_LOG() write messages to the screen.
|
||||
|
||||
WITH_BOOST
|
||||
- Default: 0
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.15 2009/10/18 09:33:08 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.16 2010/01/30 20:48:31 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -40,8 +40,6 @@
|
|||
|
||||
#include "pfs.h"
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define CTK_CONF_MENU_KEY CH_ESC
|
||||
#define CTK_CONF_WINDOWSWITCH_KEY 0x17 /* Ctrl-W */
|
||||
#define CTK_CONF_WIDGETUP_KEY 0x01 /* Ctrl-A */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.2 2009/10/18 09:33:08 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.3 2010/01/30 20:48:31 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "6502def.h"
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define CTK_CONF_MENU_KEY CH_F1
|
||||
#define CTK_CONF_WINDOWSWITCH_KEY CH_F3
|
||||
#define CTK_CONF_WIDGETUP_KEY CH_F5
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.16 2009/10/18 09:33:08 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.17 2010/01/30 20:48:31 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "6502def.h"
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define CTK_CONF_MENU_KEY CH_F1
|
||||
#define CTK_CONF_WINDOWSWITCH_KEY CH_F3
|
||||
#define CTK_CONF_WIDGETUP_KEY CH_F5
|
||||
|
|
Loading…
Reference in a new issue