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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index 867cc1de6..ff1ba575f 100644
--- a/os/hal/include/pwm.h
+++ b/os/hal/include/pwm.h
@@ -82,7 +82,7 @@ typedef enum {
* @iclass
*/
#define pwmEnableChannelI(pwmp, channel, width) { \
- pwm_lld_enable_channel(pwmp, channel, width); \
+ pwm_lld_set_channel(pwmp, channel, width); \
}
/**
@@ -97,7 +97,7 @@ typedef enum {
* @iclass
*/
#define pwmDisableChannelI(pwmp, channel) { \
- pwm_lld_disable_channel(pwmp, channel); \
+ pwm_lld_set_channel(pwmp, channel, 0); \
}
/*===========================================================================*/