diff --git a/os/hal/platforms/STM32/icu_lld.c b/os/hal/platforms/STM32/icu_lld.c index 2c641280f..2bfffd3bd 100644 --- a/os/hal/platforms/STM32/icu_lld.c +++ b/os/hal/platforms/STM32/icu_lld.c @@ -370,9 +370,6 @@ void icu_lld_start(ICUDriver *icup) { icup->tim->PSC = (uint16_t)psc; icup->tim->ARR = 0xFFFF; - chDbgAssert((icup->config->channel != ICU_CHANNEL_1) && - (icup->config->channel != ICU_CHANNEL_2), - "icu_lld_start(), #2", "invalid channel"); if (icup->config->channel == ICU_CHANNEL_1) { /* Selected input 1. CCMR1_CC1S = 01 = CH1 Input on TI1.