ardupilot/libraries/AP_Common/AP_FWVersion.h
Lucas De Marchi 370e10281b AP_Common: AP_FWVersion: add pointers to git hash strings
Keeping the hash strings on this struct allow to handle them
the same way on common code and remove ifdefs.
2017-09-23 21:37:45 -07:00

18 lines
380 B
C

#pragma once
#include "ap_version.h" // header generated by build system
#include <stdint.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
typedef struct {
uint8_t major;
uint8_t minor;
uint8_t patch;
FIRMWARE_VERSION_TYPE fw_type;
const char *fw_string;
const char *fw_hash_str;
const char *middleware_hash_str;
const char *os_hash_str;
} AP_FWVersion;