[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:
parent
2aa2643835
commit
fede49a905
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue