Plane: fixed version for enums

This commit is contained in:
Andrew Tridgell 2018-07-05 11:09:49 +10:00
parent bd4515947a
commit 1d91f18177

View File

@ -25,7 +25,7 @@ const AP_FWVersion AP_FWVersion::fwver{
.major = FW_MAJOR,
.minor = FW_MINOR,
.patch = FW_PATCH,
.fw_type = FW_TYPE,
.fw_type = (enum FIRMWARE_VERSION_TYPE)(FW_TYPE),
#ifndef GIT_VERSION
.fw_string = THISFIRMWARE,
#else