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:
Richard Barry 2008-09-24 13:09:59 +00:00
parent e12614df23
commit 0773e6b805
2 changed files with 5 additions and 3 deletions

View file

@ -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. */