Skip to content

Commit

Permalink
logger: add board subtype
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng authored and dagar committed Apr 4, 2018
1 parent 572a6ec commit b821297
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/logger/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b821297

Please sign in to comment.