aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-18 16:50:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-18 16:50:55 +0000
commit3cb4ca415b5fa9b7f0157a9d49f844be127d746e (patch)
tree2550c39dcf211e02f18169c363048b59abc41593 /os/hal
parente87da0e4c82fa930146fdbc03822c1ce6324024d (diff)
downloadChibiOS-3cb4ca415b5fa9b7f0157a9d49f844be127d746e.tar.gz
ChibiOS-3cb4ca415b5fa9b7f0157a9d49f844be127d746e.tar.bz2
ChibiOS-3cb4ca415b5fa9b7f0157a9d49f844be127d746e.zip
Removed incorrect assertion.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3957 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32/icu_lld.c3
1 files changed, 0 insertions, 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.