X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fpwm.h;h=87ec1b4d492efd06baf92c671dc8755bcb35f812;hb=692b24f898b31b95e639c0f43f225ed1726719d3;hp=c7688f5829f876d4a5dfdb370ebaf9b00870e1b9;hpb=19decd4a0bdfff674f1e4f5caea1e6b6844e5e48;p=bertos.git diff --git a/bertos/drv/pwm.h b/bertos/drv/pwm.h index c7688f58..87ec1b4d 100644 --- a/bertos/drv/pwm.h +++ b/bertos/drv/pwm.h @@ -37,11 +37,10 @@ * \author Francesco Sacchi * \author Daniele Basile * - * $WIZARD_MODULE = { - * "name" : "pwm", - * "depends" : [], - * "configuration" : "bertos/cfg/cfg_pwm.h" - * } + * $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 @@ -85,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 */