git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5569 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-04-08 10:19:38 +00:00
parent 1509b6f825
commit 62b3eb13a0
1 changed files with 2 additions and 2 deletions

View File

@ -988,7 +988,7 @@ void pwm_lld_init(void) {
#if (SPC5_PWM_USE_SMOD6) #if (SPC5_PWM_USE_SMOD6)
/* Driver initialization.*/ /* Driver initialization.*/
pwmObjectInit(&PWMD3); pwmObjectInit(&PWMD7);
PWMD7.flexpwmp = &SPC5_FLEXPWM_1; PWMD7.flexpwmp = &SPC5_FLEXPWM_1;
INTC.PSR[SPC5_FLEXPWM1_RF2_NUMBER].R = SPC5_PWM_SMOD6_PRIORITY; INTC.PSR[SPC5_FLEXPWM1_RF2_NUMBER].R = SPC5_PWM_SMOD6_PRIORITY;
INTC.PSR[SPC5_FLEXPWM1_COF2_NUMBER].R = SPC5_PWM_SMOD6_PRIORITY; INTC.PSR[SPC5_FLEXPWM1_COF2_NUMBER].R = SPC5_PWM_SMOD6_PRIORITY;
@ -999,7 +999,7 @@ void pwm_lld_init(void) {
#if (SPC5_PWM_USE_SMOD7) #if (SPC5_PWM_USE_SMOD7)
/* Driver initialization.*/ /* Driver initialization.*/
pwmObjectInit(&PWMD4); pwmObjectInit(&PWMD8);
PWMD8.flexpwmp = &SPC5_FLEXPWM_1; PWMD8.flexpwmp = &SPC5_FLEXPWM_1;
INTC.PSR[SPC5_FLEXPWM1_RF3_NUMBER].R = SPC5_PWM_SMOD7_PRIORITY; INTC.PSR[SPC5_FLEXPWM1_RF3_NUMBER].R = SPC5_PWM_SMOD7_PRIORITY;
INTC.PSR[SPC5_FLEXPWM1_COF3_NUMBER].R = SPC5_PWM_SMOD7_PRIORITY; INTC.PSR[SPC5_FLEXPWM1_COF3_NUMBER].R = SPC5_PWM_SMOD7_PRIORITY;