@@ -663,7 +663,7 @@ void elog_output(uint8_t level, const char *tag, const char *file, const char *f
|
|||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
static char line_buffer[256] = {0};
|
static char line_buffer[256] = {0};
|
||||||
rt_snprintf(line_buffer, sizeof(line_buffer), "[%s:%s:%d] %s", file, func, line, format);
|
rt_snprintf(line_buffer, sizeof(line_buffer), "%s", format);
|
||||||
|
|
||||||
/* args point to the first variable parameter */
|
/* args point to the first variable parameter */
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
|
Reference in New Issue
Block a user