aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/RC
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/RC')
-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.
* .