aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib
diff options
context:
space:
mode:
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;