mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 21:25:00 -05:00
Only one Read-Modify-Write for SHPR3 on CM7
This commit is contained in:
parent
fffed5e809
commit
33b5bf8900
1 changed files with 1 additions and 2 deletions
|
|
@ -419,8 +419,7 @@ BaseType_t xPortStartScheduler( void )
|
||||||
|
|
||||||
/* Make PendSV and SysTick the lowest priority interrupts, and make SVCall
|
/* Make PendSV and SysTick the lowest priority interrupts, and make SVCall
|
||||||
* the highest priority. */
|
* the highest priority. */
|
||||||
portNVIC_SHPR3_REG |= portNVIC_PENDSV_PRI;
|
portNVIC_SHPR3_REG |= portNVIC_PENDSV_PRI | portNVIC_SYSTICK_PRI;
|
||||||
portNVIC_SHPR3_REG |= portNVIC_SYSTICK_PRI;
|
|
||||||
portNVIC_SHPR2_REG = 0;
|
portNVIC_SHPR2_REG = 0;
|
||||||
|
|
||||||
/* Start the timer that generates the tick ISR. Interrupts are disabled
|
/* Start the timer that generates the tick ISR. Interrupts are disabled
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue