Fix context switch bug for pic32mx
This commit is contained in:
parent
cf72133d3c
commit
f23f2a8557
|
@ -113,7 +113,7 @@ void up_irqinitialize(void)
|
||||||
|
|
||||||
/* Set the Software Interrupt0 to a special priority */
|
/* Set the Software Interrupt0 to a special priority */
|
||||||
|
|
||||||
up_prioritize_irq(PIC32MX_IRQSRC_CS0, (CHIP_SW0_PRIORITY << 2));
|
up_prioritize_irq(PIC32MX_IRQ_CS0, (CHIP_SW0_PRIORITY << 2));
|
||||||
|
|
||||||
/* Set the BEV bit in the STATUS register */
|
/* Set the BEV bit in the STATUS register */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue