From 78ebf73dcdc6aa09b6f255ac53ceafffa62422c4 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 19 Jan 2018 09:36:31 +0000 Subject: Reverted bug #910. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11342 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/lib/streams/chprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/hal/lib/streams/chprintf.c') diff --git a/os/hal/lib/streams/chprintf.c b/os/hal/lib/streams/chprintf.c index 737d01341..5875d3e8a 100644 --- a/os/hal/lib/streams/chprintf.c +++ b/os/hal/lib/streams/chprintf.c @@ -163,9 +163,8 @@ int chvprintf(BaseSequentialStream *chp, const char *fmt, va_list ap) { break; width = width * 10 + c; } - precision = 6; + precision = 0; if (c == '.') { - precision = 0; while (TRUE) { c = *fmt++; if (c >= '0' && c <= '9') -- cgit v1.2.3