hidpp20: fix the profile size

the profile contains 16 pages of 16 bytes, not only 15

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-10-22 10:54:01 -04:00
parent 32e18e5cad
commit 2d020e840a

View File

@@ -930,7 +930,7 @@ int hidpp20_adjustable_dpi_set_sensor_dpi(struct hidpp20_device *device,
#define CMD_ONBOARD_PROFILES_GET_CURRENT_DPI_INDEX 0xb0
#define CMD_ONBOARD_PROFILES_SET_CURRENT_DPI_INDEX 0xc0
#define HIDPP20_PROFILE_SIZE (15*16)
#define HIDPP20_PROFILE_SIZE (16*16)
#define HIDPP20_BUTTON_HID 0x80
int