summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/thread.h3
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. */
160void priority_yield(void); 160void priority_yield(void);
161#else 161#else
162static inline void priority_yield(void) 162#define priority_yield yield
163 { yield(); }
164#endif /* HAVE_PRIORITY_SCHEDULING */ 163#endif /* HAVE_PRIORITY_SCHEDULING */
165struct thread_entry * thread_get_current(void); 164struct thread_entry * thread_get_current(void);
166void init_threads(void); 165void init_threads(void);