Fix type warning in RGBController_LenovoUSB.cpp

This commit is contained in:
Adam Honse 2024-07-31 23:41:27 -05:00
parent aae377a555
commit 34957180be

View file

@ -372,7 +372,7 @@ void RGBController_LenovoUSB::UpdateZoneLEDs(int zone)
{
int index = zones[zone].start_idx+i;
color_map.push_back({leds[index].value & 0xFF, colors[index]});
color_map.push_back({(uint8_t)leds[index].value & 0xFF, colors[index]});
}
color_map.shrink_to_fit();