aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-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 5d36e49b5..6570e9fdf 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_set_channel(pwmp, channel, width)
+ pwm_lld_enable_channel(pwmp, channel, width)
/**
* @brief Disables a PWM channel.
@@ -96,7 +96,7 @@ typedef enum {
* @iclass
*/
#define pwmDisableChannelI(pwmp, channel) \
- pwm_lld_set_channel(pwmp, channel, 0)
+ pwm_lld_disable_channel(pwmp, channel)
/*===========================================================================*/
/* External declarations. */