git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2448 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-11-28 12:56:03 +00:00
parent bc3053b566
commit ed2fe613a5
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ void pwm_lld_enable_channel(PWMDriver *pwmp,
void pwm_lld_disable_channel(PWMDriver *pwmp, pwmchannel_t channel) {
*(&pwmp->pd_tim->CCR1 + (channel * 2)) = 0;
pwmp->pd_tim->DIER = ~(2 << channel);
pwmp->pd_tim->DIER &= ~(2 << channel);
pwmp->pd_enabled_channels &= ~(1 << channel);
}