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:
parent
e87da0e4c8
commit
3cb4ca415b
|
@ -370,9 +370,6 @@ void icu_lld_start(ICUDriver *icup) {
|
||||||
icup->tim->PSC = (uint16_t)psc;
|
icup->tim->PSC = (uint16_t)psc;
|
||||||
icup->tim->ARR = 0xFFFF;
|
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) {
|
if (icup->config->channel == ICU_CHANNEL_1) {
|
||||||
/* Selected input 1.
|
/* Selected input 1.
|
||||||
CCMR1_CC1S = 01 = CH1 Input on TI1.
|
CCMR1_CC1S = 01 = CH1 Input on TI1.
|
||||||
|
|
Loading…
Reference in New Issue