aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src')
-rw-r--r--os/kernel/src/chsys.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/os/kernel/src/chsys.c b/os/kernel/src/chsys.c
index 80d037dd6..d34e7e73a 100644
--- a/os/kernel/src/chsys.c
+++ b/os/kernel/src/chsys.c
@@ -34,6 +34,10 @@
#include "ch.h"
+/**
+ * @brief Idle thread working area.
+ * @see IDLE_THREAD_STACK_SIZE
+ */
WORKING_AREA(_idle_thread_wa, IDLE_THREAD_STACK_SIZE);
/**
@@ -87,7 +91,7 @@ void chSysInit(void) {
/* This thread has the lowest priority in the system, its role is just to
serve interrupts in its context while keeping the lowest energy saving
mode compatible with the system status.*/
- chThdCreateStatic(idle_thread_wa, sizeof(_idle_thread_wa), IDLEPRIO,
+ chThdCreateStatic(_idle_thread_wa, sizeof(_idle_thread_wa), IDLEPRIO,
(tfunc_t)_idle_thread, NULL);
}