1
0
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:
Vincent Dupont 2019-03-18 18:14:31 +01:00
parent 31c21e4165
commit e8619b327b

View File

@ -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