aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chlists.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src/chlists.c')
-rw-r--r--os/kernel/src/chlists.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chlists.c b/os/kernel/src/chlists.c
index 241067ab4..0f492db5f 100644
--- a/os/kernel/src/chlists.c
+++ b/os/kernel/src/chlists.c
@@ -54,7 +54,7 @@
/* Module exported functions. */
/*===========================================================================*/
-#if !CH_OPTIMIZE_SPEED || defined(__DOXYGEN__)
+#if !CH_CFG_OPTIMIZE_SPEED || defined(__DOXYGEN__)
/**
* @brief Inserts a thread into a priority ordered queue.
* @note The insertion is done by scanning the list from the highest
@@ -175,6 +175,6 @@ thread_t *list_remove(threads_list_t *tlp) {
tlp->p_next = tp->p_next;
return tp;
}
-#endif /* CH_OPTIMIZE_SPEED */
+#endif /* CH_CFG_OPTIMIZE_SPEED */
/** @} */