hidpp10: don't skip the first profile

Only skip the first two profiles that seem like garbage.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-09-17 17:06:50 +02:00
parent cbc0f0c4c7
commit 5ee30e5a65

View File

@@ -443,7 +443,7 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr
struct hidpp10_profile profile;
/* FIXME: profile offset appears to be 3, 1 and 2 are garbage */
number += 3;
number += 2;
log_raw(dev->ratbag_device->ratbag, "Fetching profile %d\n", number);