Define log level for pwm module.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Jun 2008 17:38:13 +0000 (17:38 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Jun 2008 17:38:13 +0000 (17:38 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1421 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/pwm_test.c

index d088072bb96f184532f0bbb238ac495ebf2054c5..81d38f89938c8f9e59139969730715c5f86bf954 100644 (file)
 
 #include "hw/pwm_map.h" // For PwmDev and channel avaible on thi target
 #include "cfg/cfg_pwm.h"
-
-#include <cfg/log.h>   // for logging system
 #include <cfg/macros.h>
 #include <cfg/debug.h>
 
+// Define logging setting (for cfg/log.h module).
+#define LOG_LEVEL         PWM_LOG_LEVEL
+#define LOG_VERBOSITY     PWM_LOG_VERBOSITY
+#include <cfg/log.h>   // for logging system
+
 #include <cpu/types.h>
 #include <cpu/irq.h>