Fixed bug 3598177.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4951 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
6d6ded8060
commit
9df937b2ce
|
@ -106,8 +106,9 @@ ICUDriver ICUD8;
|
|||
static void icu_lld_serve_interrupt(ICUDriver *icup) {
|
||||
uint16_t sr;
|
||||
|
||||
sr = icup->tim->SR & icup->tim->DIER;
|
||||
icup->tim->SR = 0;
|
||||
sr = icup->tim->SR;
|
||||
sr &= icup->tim->DIER;
|
||||
icup->tim->SR = ~sr;
|
||||
if ((sr & TIM_SR_CC1IF) != 0)
|
||||
_icu_isr_invoke_period_cb(icup);
|
||||
if ((sr & TIM_SR_CC2IF) != 0)
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.4.3 ***
|
||||
- FIX: Fixed warning in STM32 ICU driver using IAR compiler (bug 3598177).
|
||||
- FIX: Fixed typo in chOQGetEmptyI() macro (bug 3595910).
|
||||
- FIX: Fixed possible false detect of loaded prescaler in RTCv1 driver (bug
|
||||
3595489).
|
||||
|
|
Loading…
Reference in New Issue