GCS_MAVLink: add board ID to AUTOPILOT_VERSION mavlink msg
Co-authored-by: durka
This commit is contained in:
parent
8de7261c67
commit
f7d42a3f3b
@ -2352,7 +2352,11 @@ void GCS_MAVLINK::send_autopilot_version() const
|
||||
{
|
||||
uint32_t flight_sw_version;
|
||||
uint32_t middleware_sw_version = 0;
|
||||
#ifdef APJ_BOARD_ID
|
||||
uint32_t board_version { APJ_BOARD_ID << 16 };
|
||||
#else
|
||||
uint32_t board_version = 0;
|
||||
#endif
|
||||
char flight_custom_version[MAVLINK_MSG_AUTOPILOT_VERSION_FIELD_FLIGHT_CUSTOM_VERSION_LEN]{};
|
||||
char middleware_custom_version[MAVLINK_MSG_AUTOPILOT_VERSION_FIELD_MIDDLEWARE_CUSTOM_VERSION_LEN]{};
|
||||
char os_custom_version[MAVLINK_MSG_AUTOPILOT_VERSION_FIELD_OS_CUSTOM_VERSION_LEN]{};
|
||||
|
Loading…
Reference in New Issue
Block a user