Small fix to chprintf().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5556 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
d009502eb4
commit
00d0a134ec
|
@ -229,9 +229,9 @@ void chprintf(BaseSequentialStream *chp, const char *fmt, ...) {
|
|||
c = 8;
|
||||
unsigned_common:
|
||||
if (is_long)
|
||||
l = va_arg(ap, long);
|
||||
l = va_arg(ap, unsigned long);
|
||||
else
|
||||
l = va_arg(ap, int);
|
||||
l = va_arg(ap, unsigned int);
|
||||
p = ltoa(p, l, c);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue