aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/kernel/include/heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/include/heap.h b/os/kernel/include/heap.h
index b628e3b9f..c044f47c7 100644
--- a/os/kernel/include/heap.h
+++ b/os/kernel/include/heap.h
@@ -34,7 +34,7 @@
* Module dependencies check.
*/
#if !CH_USE_MEMCORE && !CH_USE_MALLOC_HEAP
-#error "CH_USE_HEAP requires CH_USE_MEM"
+#error "CH_USE_HEAP requires CH_USE_MEMCORE or CH_USE_MALLOC_HEAP"
#endif
#if !CH_USE_MUTEXES && !CH_USE_SEMAPHORES