Skip to content
Snippets Groups Projects
Commit e5889867 authored by Adrian Danis's avatar Adrian Danis
Browse files

Use CONFIG_NUM_PRIORITIES when defining seL4_MaxPrio (Fixes SELFOUR-261)

parent 3a015efe
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
enum priorityConstants {
seL4_InvalidPrio = -1,
seL4_MinPrio = 0,
seL4_MaxPrio = 255
seL4_MaxPrio = CONFIG_NUM_PRIORITIES - 1
};
/* message_info_t defined in api/types.bf */
......
......@@ -16,7 +16,7 @@
enum priorityConstants {
seL4_InvalidPrio = -1,
seL4_MinPrio = 0,
seL4_MaxPrio = 255
seL4_MaxPrio = CONFIG_NUM_PRIORITIES - 1
};
/* message_info_t defined in api/types.bf */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment