aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/RVCT/ARMCMx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 18:13:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 18:13:52 +0000
commit56ca204ed20f7cb2cd6c95c1d739280533febfa6 (patch)
tree4a2d416a191eda849a4a4ba1cdbea95d29b99f50 /os/ports/RVCT/ARMCMx
parentcb5416a6606b575f0b6b3116925afbeaedb99a68 (diff)
downloadChibiOS-56ca204ed20f7cb2cd6c95c1d739280533febfa6.tar.gz
ChibiOS-56ca204ed20f7cb2cd6c95c1d739280533febfa6.tar.bz2
ChibiOS-56ca204ed20f7cb2cd6c95c1d739280533febfa6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6012 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/RVCT/ARMCMx')
-rw-r--r--os/ports/RVCT/ARMCMx/chcore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/ports/RVCT/ARMCMx/chcore.h b/os/ports/RVCT/ARMCMx/chcore.h
index 5ba5a1eb5..79f7916fb 100644
--- a/os/ports/RVCT/ARMCMx/chcore.h
+++ b/os/ports/RVCT/ARMCMx/chcore.h
@@ -169,17 +169,17 @@ struct intctx {};
*/
#define PORT_OPTIMIZED_ISPREEMPTIONREQUIRED
-#if (CH_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
+#if (CH_CFG_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
/**
* @brief Inline-able version of this kernel function.
*/
#define chSchIsPreemptionRequired() \
(currp->p_preempt ? firstprio(&rlist.r_queue) > currp->p_prio : \
firstprio(&rlist.r_queue) >= currp->p_prio)
-#else /* CH_TIME_QUANTUM == 0 */
+#else /* CH_CFG_TIME_QUANTUM == 0 */
#define chSchIsPreemptionRequired() \
(firstprio(&rlist.r_queue) > currp->p_prio)
-#endif /* CH_TIME_QUANTUM == 0 */
+#endif /* CH_CFG_TIME_QUANTUM == 0 */
#endif /* _FROM_ASM_ */