From fede49a90595738967da2199a269c8c374047ddc Mon Sep 17 00:00:00 2001 From: utzig Date: Tue, 11 Nov 2014 21:18:20 +0000 Subject: [KINETIS] Removed redundant assertions git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7503 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/KL2x/pwm_lld.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'os/hal') 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; } -- cgit v1.2.3