X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fpwm.h;h=87ec1b4d492efd06baf92c671dc8755bcb35f812;hb=efaa76e41313ea66ca001bd09948d90c52e58c5c;hp=b9fa728413aa157962d0b6f6eaf00a11c6468d45;hpb=c7fb36e3638f5dabccb1811d53ec8b781b06299d;p=bertos.git diff --git a/bertos/drv/pwm.h b/bertos/drv/pwm.h index b9fa7284..87ec1b4d 100644 --- a/bertos/drv/pwm.h +++ b/bertos/drv/pwm.h @@ -40,6 +40,7 @@ * $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 @@ -83,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 */