mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 04:13:54 -04:00
Change to use interrupt priority definitions that use shifted values from 0 to 7, rather than the full numeric value.
This commit is contained in:
parent
e12614df23
commit
0773e6b805
2 changed files with 5 additions and 3 deletions
|
@ -77,7 +77,7 @@ unsigned long ulFrequency;
|
|||
|
||||
/* Set the timer interrupts to be above the kernel. The interrupts are
|
||||
assigned different priorities so they nest with each other. */
|
||||
IntPrioritySet( INT_TIMER2A, configMAX_SYSCALL_INTERRUPT_PRIORITY - 1 );
|
||||
IntPrioritySet( INT_TIMER2A, configMAX_SYSCALL_INTERRUPT_PRIORITY + ( 1 << 5 ) ); /* Shift left 5 as only the top 3 bits are implemented. */
|
||||
IntPrioritySet( INT_TIMER3A, configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||
|
||||
/* Ensure interrupts do not start until the scheduler is running. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue