logger: add board subtype

This commit is contained in:
Beat Küng 2018-04-04 08:34:10 +02:00 committed by Daniel Agar
parent 572a6ec8e7
commit b821297f20

View File

@ -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();