aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-22 16:12:32 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-22 16:12:32 +0000
commita3528b0e3edfb0667c39d61b21396fc852bd9fcd (patch)
tree2f0993f54b5403f5955004ab0bcdcae9abd9ab5b /os/hal/lib
parent2f7be482b19d34ec9bc86ce31d589430e2737e29 (diff)
downloadChibiOS-a3528b0e3edfb0667c39d61b21396fc852bd9fcd.tar.gz
ChibiOS-a3528b0e3edfb0667c39d61b21396fc852bd9fcd.tar.bz2
ChibiOS-a3528b0e3edfb0667c39d61b21396fc852bd9fcd.zip
Updated Serial-USB driver using the new buffering mechanism. Only the STM32F4 CDC demo updated for it. Apparently it works.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8631 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/lib')
-rw-r--r--os/hal/lib/streams/chprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/lib/streams/chprintf.c b/os/hal/lib/streams/chprintf.c
index 99fea6a09..b2c4478da 100644
--- a/os/hal/lib/streams/chprintf.c
+++ b/os/hal/lib/streams/chprintf.c
@@ -131,7 +131,7 @@ int chvprintf(BaseSequentialStream *chp, const char *fmt, va_list ap) {
char tmpbuf[MAX_FILLER + 1];
#endif
- while (TRUE) {
+ while (true) {
c = *fmt++;
if (c == 0)
return n;