mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 16:00:34 +08:00
version cleanup: move all version information into version.c and use a common API
The provided versioning information is the same, except for some additions, like OS version (which still need to be implemented on NuttX).
This commit is contained in:
@@ -1361,7 +1361,7 @@ void Logger::write_header()
|
||||
/* write version info messages */
|
||||
void Logger::write_version()
|
||||
{
|
||||
write_info("ver_sw", PX4_GIT_VERSION_STR);
|
||||
write_info("ver_sw", px4_firmware_version_string());
|
||||
write_info("ver_hw", px4_board_name());
|
||||
write_info("sys_name", "PX4");
|
||||
int32_t utc_offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user