git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2856 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a0baaface3
commit
beab954a35
|
@ -354,6 +354,7 @@ void icu_lld_stop(ICUDriver *icup) {
|
|||
/* Clock deactivation.*/
|
||||
icup->tim->CR1 = 0; /* Timer disabled. */
|
||||
icup->tim->DIER = 0; /* All IRQs disabled. */
|
||||
icup->tim->SR = 0; /* Clear eventual pending IRQs. */
|
||||
|
||||
#if STM32_ICU_USE_TIM1
|
||||
if (&ICUD1 == icup) {
|
||||
|
|
Loading…
Reference in New Issue