Merge branch "preempt" in "trunk".
[bertos.git] / bertos / drv / pwm.h
index f03582142213a1402ea2a39c9fe88e137286c66d..87ec1b4d492efd06baf92c671dc8755bcb35f812 100644 (file)
@@ -39,6 +39,8 @@
  *
  * $WIZ$ module_name = "pwm"
  * $WIZ$ module_configuration = "bertos/cfg/cfg_pwm.h"
+ * $WIZ$ module_hw = "bertos/hw/pwm_map.h"
+ * $WIZ$ module_supports = "not avr"
  */
 
 #ifndef DRV_PWM_H
@@ -82,8 +84,10 @@ void pwm_init(void);
  *
  * See pwm_test.c for implemntation of these functions.
  */
-int pwm_testRun(void);
-int pwm_testSetUp(void);
+void pwm_testRun(void);
+int pwm_testSetup(void);
+/* For backward compatibility */
+#define pwm_testSetUp() pwm_testSetup()
 int pwm_testTearDown(void);
 
 #endif /* DRV_PWM_H */