aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authoracirillo87 <acirillo87@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-25 07:27:53 +0000
committeracirillo87 <acirillo87@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-25 07:27:53 +0000
commitcb671fe9928a709165835e98277341f83d0f276d (patch)
tree4510b7fd81800566521f622c10cadf981a0438a9 /os
parent482618c4c0e356daac12f5b794ba51371c53481e (diff)
downloadChibiOS-cb671fe9928a709165835e98277341f83d0f276d.tar.gz
ChibiOS-cb671fe9928a709165835e98277341f83d0f276d.tar.bz2
ChibiOS-cb671fe9928a709165835e98277341f83d0f276d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5889 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/SPC5xx/eMIOS_v1/pwm_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/SPC5xx/eMIOS_v1/pwm_lld.c b/os/hal/platforms/SPC5xx/eMIOS_v1/pwm_lld.c
index f353b180a..17bd1abeb 100644
--- a/os/hal/platforms/SPC5xx/eMIOS_v1/pwm_lld.c
+++ b/os/hal/platforms/SPC5xx/eMIOS_v1/pwm_lld.c
@@ -887,13 +887,13 @@ void pwm_lld_start(PWMDriver *pwmp) {
chDbgAssert((psc <= 0xFFFF) &&
(((psc) * pwmp->config->frequency) == SPC5_EMIOS0_CLK) &&
((psc == 1) || (psc == 2) || (psc == 3) || (psc == 4)),
- "pwm_lld_start(), #1", "invalid frequency");
+ "pwm_lld_start(), #3", "invalid frequency");
} else if (pwmp->emiosp == &EMIOS_1) {
psc = (SPC5_EMIOS1_CLK / pwmp->config->frequency);
chDbgAssert((psc <= 0xFFFF) &&
(((psc) * pwmp->config->frequency) == SPC5_EMIOS1_CLK) &&
((psc == 1) || (psc == 2) || (psc == 3) || (psc == 4)),
- "pwm_lld_start(), #2", "invalid frequency");
+ "pwm_lld_start(), #4", "invalid frequency");
}