git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2414 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
c6599cb678
commit
a15011815c
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue