Browse Source

AP_FWVersion: add structure to hold firmware version

mission-4.1.18
Peter Barker 8 years ago committed by Francisco Ferreira
parent
commit
445777429b
  1. 14
      libraries/AP_Common/AP_FWVersion.h

14
libraries/AP_Common/AP_FWVersion.h

@ -0,0 +1,14 @@ @@ -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;
Loading…
Cancel
Save