diff --git a/platform/os/freertos/HAL_OS_freertos.c b/platform/os/freertos/HAL_OS_freertos.c index b7e5479..eb715f9 100644 --- a/platform/os/freertos/HAL_OS_freertos.c +++ b/platform/os/freertos/HAL_OS_freertos.c @@ -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); diff --git a/platform/os/nos/HAL_OS_nos.c b/platform/os/nos/HAL_OS_nos.c index f3532ac..c4ab9c5 100644 --- a/platform/os/nos/HAL_OS_nos.c +++ b/platform/os/nos/HAL_OS_nos.c @@ -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);