aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/pwm.h')
-rw-r--r--os/hal/include/pwm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index 8f2418691..5ca0083b8 100644
--- a/os/hal/include/pwm.h
+++ b/os/hal/include/pwm.h
@@ -72,10 +72,8 @@ extern "C" {
void pwmObjectInit(PWMDriver *pwmp);
void pwmStart(PWMDriver *pwmp, const PWMConfig *config);
void pwmStop(PWMDriver *pwmp);
- void pwmSetCallback(PWMDriver *pwmp,
- pwmchannel_t channel,
- pwmedge_t edge,
- pwmcallback_t callback);
+ void pwmSetupChannel(PWMDriver *pwmp, pwmchannel_t channel,
+ const PWMChannelConfig *pccp);
void pwmEnableChannel(PWMDriver *pwmp,
pwmchannel_t channel,
pwmcnt_t width);