Merge pull request #45 from ucloud/bugfix_fix_printf_chaos

fix printf chaos
This commit is contained in:
ethanDu1 2020-07-23 17:50:35 +08:00 committed by GitHub
commit 6a085919ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void HAL_Printf(_IN_ const char *fmt, ...)
va_list args; va_list args;
va_start(args, fmt); va_start(args, fmt);
printf(fmt, args); vprintf(fmt, args);
va_end(args); va_end(args);
fflush(stdout); fflush(stdout);

View File

@ -70,7 +70,7 @@ void HAL_Printf(_IN_ const char *fmt, ...)
va_list args; va_list args;
va_start(args, fmt); va_start(args, fmt);
printf(fmt, args); vprintf(fmt, args);
va_end(args); va_end(args);
fflush(stdout); fflush(stdout);