git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2414 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-11-21 19:08:43 +00:00
parent c6599cb678
commit a15011815c
1 changed files with 4 additions and 6 deletions

View File

@ -81,9 +81,8 @@ typedef enum {
* *
* @iclass * @iclass
*/ */
#define pwmEnableChannelI(pwmp, channel, width) { \ #define pwmEnableChannelI(pwmp, channel, width) \
pwm_lld_set_channel(pwmp, channel, width); \ pwm_lld_set_channel(pwmp, channel, width)
}
/** /**
* @brief Disables a PWM channel. * @brief Disables a PWM channel.
@ -96,9 +95,8 @@ typedef enum {
* *
* @iclass * @iclass
*/ */
#define pwmDisableChannelI(pwmp, channel) { \ #define pwmDisableChannelI(pwmp, channel) \
pwm_lld_set_channel(pwmp, channel, 0); \ pwm_lld_set_channel(pwmp, channel, 0)
}
/*===========================================================================*/ /*===========================================================================*/
/* External declarations. */ /* External declarations. */