aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sleep.h2
-rw-r--r--src/include/threads.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/include/sleep.h b/src/include/sleep.h
index c718bb4ba..36ba9470a 100644
--- a/src/include/sleep.h
+++ b/src/include/sleep.h
@@ -28,9 +28,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-#ifdef CH_USE_SLEEP
void chThdSleep(systime_t time);
-#endif /* CH_USE_SLEEP */
#ifdef CH_USE_SYSTEMTIME
bool_t chSysInTimeWindow(systime_t start, systime_t end);
#endif /* CH_USE_SYSTEMTIME */
diff --git a/src/include/threads.h b/src/include/threads.h
index 2a53cb1fd..8c3974820 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -106,6 +106,9 @@ struct Thread {
/** Thread's own, non-inherited, priority. */
tprio_t p_realprio;
#endif
+#ifdef CH_USE_THREAD_EXT
+ THREAD_EXT_FIELDS
+#endif
};
/** Thread state: Ready to run, waiting on the ready list.*/