aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src/chthreads.c')
-rw-r--r--os/kernel/src/chthreads.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c
index 89d1d6329..70b0c3ace 100644
--- a/os/kernel/src/chthreads.c
+++ b/os/kernel/src/chthreads.c
@@ -293,7 +293,6 @@ void chThdSleepUntil(systime_t time) {
chSysUnlock();
}
-#if CH_USE_ROUNDROBIN
/**
* @brief Yields the time slot.
* @details Yields the CPU control to the next thread in the ready list with
@@ -305,7 +304,6 @@ void chThdYield(void) {
chSchDoYieldS();
chSysUnlock();
}
-#endif /* CH_USE_ROUNDROBIN */
/**
* @brief Terminates the current thread by specifying an exit status code.