aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/RC/STM8
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/RC/STM8
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/RC/STM8')
-rw-r--r--os/ports/RC/STM8/chcore.h4
-rw-r--r--os/ports/RC/STM8/port.dox2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h
index 716c8ff74..41c76a072 100644
--- a/os/ports/RC/STM8/chcore.h
+++ b/os/ports/RC/STM8/chcore.h
@@ -317,12 +317,12 @@ typedef struct {
ThreadsQueue r_queue;
tprio_t r_prio;
Thread *r_current;
-#if CH_USE_REGISTRY
+#if CH_CFG_USE_REGISTRY
Thread *r_newer;
Thread *r_older;
#endif
/* End of the fields shared with the Thread structure.*/
-#if CH_TIME_QUANTUM > 0
+#if CH_CFG_TIME_QUANTUM > 0
cnt_t r_preempt;
#endif
} ReadyList;
diff --git a/os/ports/RC/STM8/port.dox b/os/ports/RC/STM8/port.dox
index 8dc4ba259..903cb9198 100644
--- a/os/ports/RC/STM8/port.dox
+++ b/os/ports/RC/STM8/port.dox
@@ -57,7 +57,7 @@
* kernel files should be loaded in the first 64K. Note that this is not
* a problem because upper addresses can be used by the user code, the
* kernel can context switch code running there.
- * - The configuration option @p CH_OPTIMIZE_SPEED is not currently supported
+ * - The configuration option @p CH_CFG_OPTIMIZE_SPEED is not currently supported
* because the missing support of the @p inline "C" keyword in the
* compiler.
* .