Qurt PX4_INFO_RAW send to apps for display (#21080)

This commit is contained in:
Eric Katzfey
2023-02-07 17:22:09 -05:00
committed by GitHub
parent db24c2b233
commit ddd1527305
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -57,4 +57,14 @@ static __inline void qurt_log(int level, const char *file, int line,
qurt_log_to_apps(level, buf);
}
static __inline void qurt_log_raw(const char *format, ...)
{
char buf[256];
va_list args;
va_start(args, format);
vsnprintf(buf, sizeof(buf), format, args);
va_end(args);
qurt_log_to_apps(1, buf);
}
__END_DECLS