mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Correct interrupt priority assignment.
This commit is contained in:
parent
276356d9b5
commit
0528691833
4 changed files with 8 additions and 3 deletions
|
@ -132,6 +132,9 @@ to exclude the API function. */
|
|||
/* Priority 5, or 160 as only the top three bits are implemented. */
|
||||
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 << (8 - configPRIO_BITS) )
|
||||
|
||||
/* Priorities passed to NVIC_SetPriority() do not require shifting as the
|
||||
function does the shifting itself. */
|
||||
#define configEMAC_INTERRUPT_PRIORITY 5
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue