unifying: Don't read a register we don't use

It seems other firmware versions are affected too.
This commit is contained in:
Richard Hughes 2017-05-30 19:46:42 +01:00
parent 555c634a92
commit e1e9fa99b4

View File

@ -114,7 +114,7 @@ lu_device_runtime_open (LuDevice *device, GError **error)
/* workaround a bug in the 12.01 firmware, which fails with
* INVALID_VALUE when reading MCU1_HW_VERSION */
if (version_bl_major == 0x01 && i == 0x03)
if (i == 0x03)
continue;
msg->report_id = HIDPP_REPORT_ID_SHORT;