From fd3166ba1d218554a385d2b028fba7cd6d2f1fdb Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 30 Apr 2013 08:32:29 +0000 Subject: [PATCH] Fixed assertion numbers. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5649 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c b/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c index 7fdf0358f..4c8a55929 100644 --- a/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c +++ b/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c @@ -974,9 +974,9 @@ void icu_lld_start(ICUDriver *icup) { chDbgAssert(icu_active_submodules0 < 6, "icu_lld_start(), #1", "too many submodules"); - chDbgAssert(icu_active_submodules1 < 6, "icu_lld_start(), #1", + chDbgAssert(icu_active_submodules1 < 6, "icu_lld_start(), #2", "too many submodules"); - chDbgAssert(icu_active_submodules2 < 6, "icu_lld_start(), #1", + chDbgAssert(icu_active_submodules2 < 6, "icu_lld_start(), #3", "too many submodules"); if (icup->state == ICU_STOP) { @@ -1119,9 +1119,9 @@ void icu_lld_start(ICUDriver *icup) { void icu_lld_stop(ICUDriver *icup) { chDbgAssert(icu_active_submodules0 < 6, "icu_lld_stop(), #1", "too many submodules"); - chDbgAssert(icu_active_submodules1 < 6, "icu_lld_stop(), #1", + chDbgAssert(icu_active_submodules1 < 6, "icu_lld_stop(), #2", "too many submodules"); - chDbgAssert(icu_active_submodules2 < 6, "icu_lld_stop(), #1", + chDbgAssert(icu_active_submodules2 < 6, "icu_lld_stop(), #3", "too many submodules"); if (icup->state == ICU_READY) {