From: asterix Date: Tue, 27 Apr 2010 10:44:53 +0000 (+0000) Subject: Add ntc log config. X-Git-Tag: 2.5.0~374 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4ffc0206dec3624326e03137371abebd003de845;p=bertos.git Add ntc log config. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3534 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_ntc.h b/bertos/cfg/cfg_ntc.h index 28212204..09b57e22 100644 --- a/bertos/cfg/cfg_ntc.h +++ b/bertos/cfg/cfg_ntc.h @@ -30,18 +30,25 @@ * * --> * - * \brief Configuration file for phase module. + * \brief Configuration file for NTC module. * - * \version $Id$ * \author Daniele Basile */ #ifndef CFG_NTC_H #define CFG_NTC_H -/// Max value of the dsty cycle on triac. $WIZ$ type = "int" -#define NTC_OPEN_CIRCUIT -32768 -/// Max value of the triac power. $WIZ$ type = "int" -#define NTC_SHORT_CIRCUIT 32767 +/** + * Module logging level. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define CONFIG_NTC_LOG_LEVEL LOG_LVL_INFO +/** + * Module logging format. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define CONFIG_NTC_LOG_FORMAT LOG_FMT_TERSE #endif /* CFG_NTC_H */