diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 10:12:44 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 10:12:44 +0000 |
commit | 49d71a01abeefa000a4cd7a556052d826b096d49 (patch) | |
tree | 8c5ce964f194d9f7b17e91d912d9e6d723e4b8ae /os/kernel/include/chlists.h | |
parent | dc7b36df31f4d9dbd9a039319df74f4b2c8eed0c (diff) | |
download | ChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.tar.gz ChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.tar.bz2 ChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.zip |
Renamed or added prefix to all hernel configuration options.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6010 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chlists.h')
-rw-r--r-- | os/kernel/include/chlists.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chlists.h b/os/kernel/include/chlists.h index 3f71b2afc..69a42bcce 100644 --- a/os/kernel/include/chlists.h +++ b/os/kernel/include/chlists.h @@ -138,7 +138,7 @@ static inline bool queue_notempty(threads_queue_t *tqp) { /* If the performance code path has been chosen then all the following
functions are inlined into the various kernel modules.*/
-#if CH_OPTIMIZE_SPEED
+#if CH_CFG_OPTIMIZE_SPEED
static inline void list_insert(thread_t *tp, threads_list_t *tlp) {
tp->p_next = tlp->p_next;
@@ -190,6 +190,6 @@ static inline thread_t *queue_dequeue(thread_t *tp) { tp->p_next->p_prev = tp->p_prev;
return tp;
}
-#endif /* CH_OPTIMIZE_SPEED */
+#endif /* CH_CFG_OPTIMIZE_SPEED */
#endif /* _CHLISTS_H_ */
|