forked from Archive/PX4-Autopilot
parent
1d99f83b34
commit
22d286b9ce
|
@ -162,6 +162,11 @@ uint32_t version_tag_to_number(const char *tag)
|
|||
type = FIRMWARE_TYPE_DEV;
|
||||
}
|
||||
|
||||
/* looks like a release */
|
||||
if (type == -1) {
|
||||
type = FIRMWARE_TYPE_RELEASE;
|
||||
}
|
||||
|
||||
ver = (ver << 8);
|
||||
|
||||
return ver | type;
|
||||
|
|
Loading…
Reference in New Issue