Add log configuration for dc motor.
author(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 Aug 2009 14:54:17 +0000 (14:54 +0000)
committer(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 Aug 2009 14:54:17 +0000 (14:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2777 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cfg/cfg_dc_motor.h

index ac4123bfa083e0760187b68b2e5b201fb69acc6b..409badda2e7046072af4e09ad97a13ed7fa0a803 100644 (file)
  * $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 */