AP_FWVersion: add structure to hold firmware version

This commit is contained in:
Peter Barker 2017-08-19 08:42:25 +10:00 committed by Francisco Ferreira
parent 0708130b5e
commit 445777429b
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#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;
} AP_FWVersion;