mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/thread_flags: remove #error from header file
This commit removes the #error from the thread_flags header. This #error makes the usage of if(IS_USED(MODULE_THAT_DEPENDS_ON_THREAD_FLAGS)) pattern harder, because the error is triggered each time the header is included. If a module uses any thread_flags function it will fail in link time anyway.
This commit is contained in:
parent
171907ddd9
commit
027a47e3a8
@ -54,10 +54,6 @@
|
||||
#ifndef THREAD_FLAGS_H
|
||||
#define THREAD_FLAGS_H
|
||||
|
||||
#ifndef MODULE_CORE_THREAD_FLAGS
|
||||
#error Missing USEMODULE += core_thread_flags
|
||||
#endif
|
||||
|
||||
#include "kernel_types.h"
|
||||
#include "sched.h" /* for thread_t typedef */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user