diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/thread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index 7a9414c79f..1b685066e3 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h | |||
@@ -159,8 +159,7 @@ int thread_get_priority(struct thread_entry *thread); | |||
159 | without altering the scheduler's thread precedence. */ | 159 | without altering the scheduler's thread precedence. */ |
160 | void priority_yield(void); | 160 | void priority_yield(void); |
161 | #else | 161 | #else |
162 | static inline void priority_yield(void) | 162 | #define priority_yield yield |
163 | { yield(); } | ||
164 | #endif /* HAVE_PRIORITY_SCHEDULING */ | 163 | #endif /* HAVE_PRIORITY_SCHEDULING */ |
165 | struct thread_entry * thread_get_current(void); | 164 | struct thread_entry * thread_get_current(void); |
166 | void init_threads(void); | 165 | void init_threads(void); |