Removed incorrect assertion.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3957 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-02-18 16:50:55 +00:00
parent e87da0e4c8
commit 3cb4ca415b
1 changed files with 0 additions and 3 deletions

View File

@ -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.