[KINETIS] Removed redundant assertions

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7503 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
utzig 2014-11-11 21:18:20 +00:00
parent 2aa2643835
commit fede49a905
1 changed files with 0 additions and 6 deletions

View File

@ -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;
}