Fixed bug 3121246.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2447 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
7290349063
commit
718f2d0cd1
|
@ -535,7 +535,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);
|
||||
}
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.1.5 ***
|
||||
- FIX: Fixed pwmDisableChannel() now working in STM32 PWM driver (bug 3121246).
|
||||
- FIX: Fixed problem with PWM channel callbacks (bug 3120785).
|
||||
- NEW: Added support for TIM5 in the STM32 PWM driver.
|
||||
- CHANGE: Modified the STM32_PWM_PWMx_IRQ_PRIORITY macros in the STM32
|
||||
|
|
Loading…
Reference in New Issue