Browse Source

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.
master
Lucas De Marchi 8 years ago
parent
commit
370e10281b
  1. 3
      libraries/AP_Common/AP_FWVersion.h

3
libraries/AP_Common/AP_FWVersion.h

@ -11,4 +11,7 @@ typedef struct { @@ -11,4 +11,7 @@ typedef struct {
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;

Loading…
Cancel
Save