mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
logger: add board subtype
This commit is contained in:
@@ -1801,6 +1801,11 @@ void Logger::write_version()
|
||||
}
|
||||
|
||||
write_info("ver_hw", px4_board_name());
|
||||
const char *board_sub_type = px4_board_sub_type();
|
||||
|
||||
if (board_sub_type && board_sub_type[0]) {
|
||||
write_info("ver_hw_subtype", board_sub_type);
|
||||
}
|
||||
write_info("sys_name", "PX4");
|
||||
write_info("sys_os_name", px4_os_name());
|
||||
const char *os_version = px4_os_version_string();
|
||||
|
||||
Reference in New Issue
Block a user