diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-11 21:18:20 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-11 21:18:20 +0000 |
commit | fede49a90595738967da2199a269c8c374047ddc (patch) | |
tree | 9e0242f6d762048fa85ab4751152f8bbae44b742 /os/hal/ports/KINETIS | |
parent | 2aa2643835dd9eb25827450349ec49b801369f47 (diff) | |
download | ChibiOS-fede49a90595738967da2199a269c8c374047ddc.tar.gz ChibiOS-fede49a90595738967da2199a269c8c374047ddc.tar.bz2 ChibiOS-fede49a90595738967da2199a269c8c374047ddc.zip |
[KINETIS] Removed redundant assertions
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7503 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/KINETIS')
-rw-r--r-- | os/hal/ports/KINETIS/KL2x/pwm_lld.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/os/hal/ports/KINETIS/KL2x/pwm_lld.c b/os/hal/ports/KINETIS/KL2x/pwm_lld.c index 2f1713109..6e953a091 100644 --- a/os/hal/ports/KINETIS/KL2x/pwm_lld.c +++ b/os/hal/ports/KINETIS/KL2x/pwm_lld.c @@ -375,9 +375,6 @@ void pwm_lld_disable_periodic_notification(PWMDriver *pwmp) { void pwm_lld_enable_channel_notification(PWMDriver *pwmp,
pwmchannel_t channel) {
- osalDbgAssert(channel <= 5,
- "pwm_lld_enable_channel_notification() #1, invalid channel");
-
pwmp->tpm->C[channel].SC |= TPM_CnSC_CHIE;
}
@@ -395,9 +392,6 @@ void pwm_lld_enable_channel_notification(PWMDriver *pwmp, void pwm_lld_disable_channel_notification(PWMDriver *pwmp,
pwmchannel_t channel) {
- osalDbgAssert(channel <= 5,
- "pwm_lld_disable_channel_notification() #1, invalid channel");
-
pwmp->tpm->C[channel].SC &= ~TPM_CnSC_CHIE;
}
|