aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32')
-rw-r--r--os/hal/platforms/STM32/icu_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/icu_lld.c b/os/hal/platforms/STM32/icu_lld.c
index 736321368..db2c92264 100644
--- a/os/hal/platforms/STM32/icu_lld.c
+++ b/os/hal/platforms/STM32/icu_lld.c
@@ -538,7 +538,6 @@ void icu_lld_stop(ICUDriver *icup) {
rccDisableTIM5(FALSE);
}
#endif
- }
#if STM32_ICU_USE_TIM8
if (&ICUD8 == icup) {
nvicDisableVector(STM32_TIM8_UP_NUMBER);
@@ -546,6 +545,7 @@ void icu_lld_stop(ICUDriver *icup) {
rccDisableTIM8(FALSE);
}
#endif
+ }
}
/**