mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 22:58:32 -04:00
370e10281b
Keeping the hash strings on this struct allow to handle them the same way on common code and remove ifdefs.
18 lines
380 B
C
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;
|