Fix type warning in RGBController_LenovoUSB.cpp
This commit is contained in:
parent
aae377a555
commit
34957180be
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue