From 5ee30e5a65cbec89711b9453c8aab612199e943d Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Thu, 17 Sep 2015 17:06:50 +0200 Subject: [PATCH] hidpp10: don't skip the first profile Only skip the first two profiles that seem like garbage. --- src/hidpp10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hidpp10.c b/src/hidpp10.c index 0e875564..0976e837 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -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);