Fixed bug 3598177.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4952 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
11a55ca41a
commit
64431d076b
|
@ -103,7 +103,8 @@ ICUDriver ICUD8;
|
|||
static void icu_lld_serve_interrupt(ICUDriver *icup) {
|
||||
uint16_t sr;
|
||||
|
||||
sr = icup->tim->SR & icup->tim->DIER;
|
||||
sr = icup->tim->SR;
|
||||
sr &= icup->tim->DIER;
|
||||
icup->tim->SR = ~sr;
|
||||
if (icup->config->channel == ICU_CHANNEL_1) {
|
||||
if ((sr & TIM_SR_CC1IF) != 0)
|
||||
|
|
|
@ -104,7 +104,8 @@ PWMDriver PWMD8;
|
|||
static void pwm_lld_serve_interrupt(PWMDriver *pwmp) {
|
||||
uint16_t sr;
|
||||
|
||||
sr = pwmp->tim->SR & pwmp->tim->DIER;
|
||||
sr = pwmp->tim->SR;
|
||||
sr &= pwmp->tim->DIER;
|
||||
pwmp->tim->SR = ~sr;
|
||||
if ((sr & TIM_SR_CC1IF) != 0)
|
||||
pwmp->config->channels[0].callback(pwmp);
|
||||
|
|
|
@ -82,7 +82,9 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.5.2 ***
|
||||
- FIX: Fixed twrong SPI path in platform_f105_f107.mk (bug 3598151).
|
||||
- FIX: Fixed warning in STM32 ICU driver using IAR compiler (bug 3598177)
|
||||
(backported to 2.4.3).
|
||||
- FIX: Fixed wrong SPI path in platform_f105_f107.mk (bug 3598151).
|
||||
- NEW: Added support for Olimex board STM32-LCD.
|
||||
|
||||
*** 2.5.1 ***
|
||||
|
|
Loading…
Reference in New Issue