mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
thread: allow overriding THREAD_PRIORITY_MAIN
This commit is contained in:
parent
31c21e4165
commit
e8619b327b
@ -282,7 +282,9 @@ struct _thread {
|
||||
* @def THREAD_PRIORITY_MAIN
|
||||
* @brief Priority of the main thread
|
||||
*/
|
||||
#ifndef THREAD_PRIORITY_MAIN
|
||||
#define THREAD_PRIORITY_MAIN (THREAD_PRIORITY_MIN - (SCHED_PRIO_LEVELS/2))
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name Optional flags for controlling a threads initial state
|
||||
|
Loading…
Reference in New Issue
Block a user