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.
This commit is contained in:
Lucas De Marchi 2017-09-04 22:56:19 -07:00
parent a906d31c23
commit 370e10281b

View File

@ -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;