diff --git a/src/hidpp20.h b/src/hidpp20.h index bec12421..e8fe6717 100644 --- a/src/hidpp20.h +++ b/src/hidpp20.h @@ -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 {