aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 19:08:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 19:08:43 +0000
commita15011815ccc25e75f553edbf90a4687310e3bf8 (patch)
treeb5daacb2abb13e1bfbe04a29507998e32387f880 /os
parentc6599cb67878e246ea7fa1b7c5efba322156d7f4 (diff)
downloadChibiOS-a15011815ccc25e75f553edbf90a4687310e3bf8.tar.gz
ChibiOS-a15011815ccc25e75f553edbf90a4687310e3bf8.tar.bz2
ChibiOS-a15011815ccc25e75f553edbf90a4687310e3bf8.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2414 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/include/pwm.h10
1 files 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. */