hidpp20: do not waste memory
Currently we only support mice with 2 LEDs in the profile. No need
to have 32 placeholders.
@@ -462,7 +462,7 @@ struct hidpp20_profile {
uint16_t dpi[HIDPP20_DPI_COUNT];
union hidpp20_button_binding buttons[32];
union hidpp20_macro_data *macros[32];
- struct hidpp20_led leds[32];
+ struct hidpp20_led leds[HIDPP20_LED_COUNT];
};
struct hidpp20_profiles {
