mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 06:33:33 +08:00
Qurt PX4_INFO_RAW send to apps for display (#21080)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user