mirror of https://github.com/ArduPilot/ardupilot
AP_Common: add firmware string without git hash.
This commit is contained in:
parent
96acb46fbf
commit
88bbec01b0
|
@ -28,6 +28,7 @@ public:
|
|||
const uint32_t os_sw_version;
|
||||
const char *fw_string;
|
||||
const char *fw_hash_str;
|
||||
const char *fw_short_string;
|
||||
const char *middleware_name;
|
||||
const char *middleware_hash_str;
|
||||
const char *os_name;
|
||||
|
|
|
@ -49,6 +49,7 @@ const AP_FWVersion AP_FWVersion::fwver{
|
|||
.fw_string = THISFIRMWARE " (" GIT_VERSION ")",
|
||||
.fw_hash_str = GIT_VERSION,
|
||||
#endif
|
||||
.fw_short_string = THISFIRMWARE,
|
||||
.middleware_name = nullptr,
|
||||
.middleware_hash_str = nullptr,
|
||||
#ifdef CHIBIOS_GIT_VERSION
|
||||
|
|
Loading…
Reference in New Issue