mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
logger: add board subtype
This commit is contained in:
parent
572a6ec8e7
commit
b821297f20
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user