Camelcase the testSetUp functions.
[bertos.git] / bertos / drv / pwm_test.c
index d088072bb96f184532f0bbb238ac495ebf2054c5..beb765e5035e0394aa02dac5d245c3f9da9f4c7e 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>
 
@@ -116,7 +119,7 @@ static PwmTest pwm_test_cfg[PWM_CNT] =
  * Setup all needed to test PWM on AT91
  *
  */
-int pwm_testSetup(void)
+int pwm_testSetUp(void)
 {
        LOG_INFO("Init pwm..");
        pwm_init();
@@ -135,7 +138,7 @@ int pwm_testRun(void)
         int duty = 0;
         int delay = 0;
 
-        pwm_testSetup();
+        pwm_testSetUp();
 
         LOG_INFO("\n\n===== BeRTOS PWM test =====\n\n");