diff options
author | TexZK <texzk@email.it> | 2015-07-07 23:53:21 +0200 |
---|---|---|
committer | TexZK <texzk@email.it> | 2015-07-07 23:53:21 +0200 |
commit | 3f88eaa27a9ac41a294c5cf6c2de27c47ced9ad0 (patch) | |
tree | 95948926588d7ccf908c82b48540eca713fcaf52 /os/various/tribuf.c | |
parent | 3ac6c611847f1f20a89315d6d66bc138145ad62d (diff) | |
download | ChibiOS-Contrib-3f88eaa27a9ac41a294c5cf6c2de27c47ced9ad0.tar.gz ChibiOS-Contrib-3f88eaa27a9ac41a294c5cf6c2de27c47ced9ad0.tar.bz2 ChibiOS-Contrib-3f88eaa27a9ac41a294c5cf6c2de27c47ced9ad0.zip |
Added shell commands to control triple buffer demo
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();
}
|