Fix possible loss of data warning in RGBController_LogitechLightspeed.cpp

This commit is contained in:
Adam Honse 2024-08-08 20:32:35 -05:00
parent ffeaa033bc
commit fb2b0aa8e1

View file

@ -174,7 +174,7 @@ void RGBController_LogitechLightspeed::SetupZones()
{
zone Lightspeed_logo_zone;
led Lightspeed_logo_led;
logitech_led new_led = controller->lightspeed->getLED_info(i);
logitech_led new_led = controller->lightspeed->getLED_info((uint8_t)i);
if(new_led.location < NUM_LOGITECH_LED_LOCATIONS )
{