diff options
Diffstat (limited to 'os/various/tribuf.c')
-rw-r--r-- | os/various/tribuf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os/various/tribuf.c b/os/various/tribuf.c index 689f583..80eb258 100644 --- a/os/various/tribuf.c +++ b/os/various/tribuf.c @@ -205,7 +205,9 @@ void tribufSwapBack(tribuf_t *handler) { osalSysLock();
tribufSwapBackI(handler);
- chSchRescheduleS();
+#if (TRIBUF_USE_WAIT == TRUE)
+ osalOsRescheduleS();
+#endif
osalSysUnlock();
}
|