arch/mips/src/pic32mX/pic32mX-irq.c: Use the defined CS0 irq number.
This commit is contained in:
parent
e55118d96d
commit
eb1adcafe3
@ -111,6 +111,10 @@ void up_irqinitialize(void)
|
||||
up_prioritize_irq(irq, (INT_IPC_MID_PRIORITY << 2));
|
||||
}
|
||||
|
||||
/* Set the Software Interrupt0 to a special priority */
|
||||
|
||||
up_prioritize_irq(PIC32MX_IRQSRC_CS0, (CHIP_MAX_PRIORITY - 1) << 2);
|
||||
|
||||
/* Set the BEV bit in the STATUS register */
|
||||
|
||||
regval = cp0_getstatus();
|
||||
|
@ -202,7 +202,7 @@ void up_irqinitialize(void)
|
||||
|
||||
/* Set the Software Interrupt0 to a special priority */
|
||||
|
||||
pic32mz_prioritize_irq(1, 7 << 2);
|
||||
pic32mz_prioritize_irq(PIC32MZ_IRQ_CS0, (CHIP_MAX_PRIORITY - 1) << 2);
|
||||
|
||||
/* Set the BEV bit in the STATUS register */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user