Merge pull request #45 from ucloud/bugfix_fix_printf_chaos
fix printf chaos
This commit is contained in:
commit
6a085919ad
|
@ -104,7 +104,7 @@ void HAL_Printf(_IN_ const char *fmt, ...)
|
|||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
printf(fmt, args);
|
||||
vprintf(fmt, args);
|
||||
va_end(args);
|
||||
|
||||
fflush(stdout);
|
||||
|
|
|
@ -70,7 +70,7 @@ void HAL_Printf(_IN_ const char *fmt, ...)
|
|||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
printf(fmt, args);
|
||||
vprintf(fmt, args);
|
||||
va_end(args);
|
||||
|
||||
fflush(stdout);
|
||||
|
|
Loading…
Reference in New Issue