diff --git a/portable/GCC/ARM_CM7/r0p1/port.c b/portable/GCC/ARM_CM7/r0p1/port.c index ac067274d..e658b8616 100644 --- a/portable/GCC/ARM_CM7/r0p1/port.c +++ b/portable/GCC/ARM_CM7/r0p1/port.c @@ -419,8 +419,7 @@ BaseType_t xPortStartScheduler( void ) /* Make PendSV and SysTick the lowest priority interrupts, and make SVCall * the highest priority. */ - portNVIC_SHPR3_REG |= portNVIC_PENDSV_PRI; - portNVIC_SHPR3_REG |= portNVIC_SYSTICK_PRI; + portNVIC_SHPR3_REG |= portNVIC_PENDSV_PRI | portNVIC_SYSTICK_PRI; portNVIC_SHPR2_REG = 0; /* Start the timer that generates the tick ISR. Interrupts are disabled