Fix type warning in RGBController_LenovoUSB.cpp

This commit is contained in:
Adam Honse committed 2024-07-31 23:41:27 -05:00
1 parent aae377a555
commit 34957180be
1 file changed
+1 -1
@@ -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();