Fix context switch bug for pic32mx

This commit is contained in:
Brennan Ashton 2021-02-21 19:54:58 -08:00 committed by Xiang Xiao
parent cf72133d3c
commit f23f2a8557
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ void up_irqinitialize(void)
/* 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 */