From a15011815ccc25e75f553edbf90a4687310e3bf8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 21 Nov 2010 19:08:43 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2414 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/pwm.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index ff1ba575f..5d36e49b5 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -81,9 +81,8 @@ typedef enum { * * @iclass */ -#define pwmEnableChannelI(pwmp, channel, width) { \ - pwm_lld_set_channel(pwmp, channel, width); \ -} +#define pwmEnableChannelI(pwmp, channel, width) \ + pwm_lld_set_channel(pwmp, channel, width) /** * @brief Disables a PWM channel. @@ -96,9 +95,8 @@ typedef enum { * * @iclass */ -#define pwmDisableChannelI(pwmp, channel) { \ - pwm_lld_set_channel(pwmp, channel, 0); \ -} +#define pwmDisableChannelI(pwmp, channel) \ + pwm_lld_set_channel(pwmp, channel, 0) /*===========================================================================*/ /* External declarations. */