aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/scheduler.h')
-rw-r--r--os/kernel/include/scheduler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/kernel/include/scheduler.h b/os/kernel/include/scheduler.h
index a8196a9b6..539c678fa 100644
--- a/os/kernel/include/scheduler.h
+++ b/os/kernel/include/scheduler.h
@@ -68,7 +68,7 @@ typedef struct {
tprio_t r_prio; /**< This field must be initialized to
zero.*/
/* End of the fields shared with the Thread structure.*/
-#if CH_USE_ROUNDROBIN
+#if CH_TIME_QUANTUM > 0
cnt_t r_preempt; /**< Round robin counter.*/
#endif
#ifndef CH_CURRP_REGISTER_CACHE
@@ -98,9 +98,7 @@ extern "C" {
void chSchDoRescheduleI(void);
void chSchRescheduleS(void);
bool_t chSchIsRescRequiredExI(void);
-#if CH_USE_ROUNDROBIN
void chSchDoYieldS(void);
-#endif
#ifdef __cplusplus
}
#endif