Reverted bug #910.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11342 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2018-01-19 09:36:31 +00:00
parent 562c022511
commit 78ebf73dcd
2 changed files with 1 additions and 4 deletions

View File

@ -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')

View File

@ -168,8 +168,6 @@
Updated the various platform.mk implementing "smart build" mode.
- LIB: Fixed inner semaphore not updated in chGuardedPoolAllocI() function
(bug #911).
- HAL: Fixed chprintf float support for 0 precision (bug #910)(backported to
17.6.4 and 16.1.10).
- RT: Fixed compile error with assertions enabled and dynamic extensions
disabled (bug #909)(backported to 17.6.4).
- HAL: Fixed compile error HAL UART without WAIT (bug #908)(backported to