mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 04:33:08 +00:00
Revert "synaptics-rmi: Use the build ID as the version number to match the vendor tool"
This reverts commit 28ab968cbf
as Synaptics
deviced that vmajor and vminor would actually be useful.
This commit is contained in:
parent
f1a4d87063
commit
28e8b953d0
@ -574,8 +574,11 @@ fu_synaptics_rmi_device_setup (FuDevice *device, GError **error)
|
||||
}
|
||||
|
||||
/* set versions */
|
||||
fw_ver = g_strdup_printf ("%u", priv->flash.build_id);
|
||||
fu_device_set_version (device, fw_ver, FWUPD_VERSION_FORMAT_PLAIN);
|
||||
fw_ver = g_strdup_printf ("%u.%u.%u",
|
||||
f01_basic->data[2],
|
||||
f01_basic->data[3],
|
||||
priv->flash.build_id);
|
||||
fu_device_set_version (device, fw_ver, FWUPD_VERSION_FORMAT_TRIPLET);
|
||||
bl_ver = g_strdup_printf ("%u.0", priv->flash.bootloader_id[1]);
|
||||
fu_device_set_version_bootloader (device, bl_ver);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user