Skip to content
Snippets Groups Projects
Commit 990ae93c authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Version: Add MAVLink git hash to available versions

parent ea223505
No related branches found
No related tags found
No related merge requests found
......@@ -254,6 +254,11 @@ uint64_t px4_firmware_version_binary(void)
return PX4_GIT_VERSION_BINARY;
}
uint64_t px4_mavlink_lib_version_binary(void)
{
return MAVLINK_LIB_GIT_VERSION_BINARY;
}
uint64_t px4_os_version_binary(void)
{
//TODO: get NuttX version via git tag
......
......@@ -123,6 +123,11 @@ __EXPORT const char *px4_firmware_version_string(void);
*/
__EXPORT uint64_t px4_firmware_version_binary(void);
/**
* MAVLink lib version in binary form (first part of the git tag)
*/
__EXPORT uint64_t px4_mavlink_lib_version_binary(void);
/**
* Operating system version in binary form (first part of the git tag)
* @return this is not available on all OSes and can return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment