From 4e220bdc67da1428a1bb1d207164ff8c45c524c5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 14 Apr 2013 09:12:49 +0000 Subject: [PATCH] Fixed bug #401. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5590 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/chprintf.c | 2 ++ readme.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/os/various/chprintf.c b/os/various/chprintf.c index 0b9ff2da5..688df137a 100644 --- a/os/various/chprintf.c +++ b/os/various/chprintf.c @@ -196,6 +196,8 @@ void chprintf(BaseSequentialStream *chp, const char *fmt, ...) { break; case 'D': case 'd': + case 'I': + case 'i': if (is_long) l = va_arg(ap, long); else diff --git a/readme.txt b/readme.txt index 07762bf05..6c54adbb4 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,7 @@ ***************************************************************************** *** 2.5.2 *** +- FIX: Fixed add %i to chprintf (bug #401). - FIX: Fixed STM32F051 various (bug #400). - FIX: Fixed STM32F103 HSI configuration (bug #399). - FIX: Fixed patch to allow simulator to be restarted quicker (bug #398).