aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/kernel/include/threads.h7
-rw-r--r--os/kernel/templates/chconf.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/os/kernel/include/threads.h b/os/kernel/include/threads.h
index edcf1f42a..1468b0f5a 100644
--- a/os/kernel/include/threads.h
+++ b/os/kernel/include/threads.h
@@ -27,6 +27,13 @@
#ifndef _THREADS_H_
#define _THREADS_H_
+/*
+ * Module dependencies check.
+ */
+#if CH_USE_DYNAMIC && !CH_USE_WAITEXIT
+#error "CH_USE_DYNAMIC requires CH_USE_WAITEXIT"
+#endif
+
/**
* @brief Structure representing a thread.
*
diff --git a/os/kernel/templates/chconf.h b/os/kernel/templates/chconf.h
index eeb35e4d4..5b42d3c9c 100644
--- a/os/kernel/templates/chconf.h
+++ b/os/kernel/templates/chconf.h
@@ -160,7 +160,7 @@
/**
* @brief Atomic semaphore API.
- * @details If enabled then the semaphores the @p chSemWaitSignal() API
+ * @details If enabled then the semaphores the @p chSemSignalWait() API
* is included in the kernel.
*
* @note The default is @p TRUE.