From: (no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537> Date: Thu, 20 Aug 2009 14:54:17 +0000 (+0000) Subject: Add log configuration for dc motor. X-Git-Tag: 2.2.0~191 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9e197beb5ea5ee2982e2c0392e73f13d28af73e3;hp=8c4129cddaeb7181c0a0682a8490cb2a596064a1;p=bertos.git Add log configuration for dc motor. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2777 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_dc_motor.h b/bertos/cfg/cfg_dc_motor.h index ac4123bf..409badda 100644 --- a/bertos/cfg/cfg_dc_motor.h +++ b/bertos/cfg/cfg_dc_motor.h @@ -46,6 +46,22 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_NUM_DC_MOTOR 1 +#define CONFIG_NUM_DC_MOTOR 4 + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define DC_MOTOR_LOG_LEVEL LOG_LVL_WARN + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define DC_MOTOR_LOG_FORMAT LOG_FMT_TERSE #endif /* CFG_DC_MOTOR_H */