From 3cb4ca415b5fa9b7f0157a9d49f844be127d746e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 18 Feb 2012 16:50:55 +0000 Subject: [PATCH] Removed incorrect assertion. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3957 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/icu_lld.c | 3 --- 1 file changed, 3 deletions(-) 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.