mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-16 11:56:56 -04:00
Fix type in pair warning in RGBController_LenovoUSB.cpp
This commit is contained in:
@@ -398,15 +398,13 @@ void RGBController_LenovoUSB::DeviceUpdateLEDs()
|
||||
|
||||
prev_zone_id = zone_id;
|
||||
|
||||
curr_color_map.push_back({leds[i].value & 0xFF, colors[i]});
|
||||
|
||||
curr_color_map.push_back({(uint8_t)(leds[i].value & 0xFF), colors[i]});
|
||||
}
|
||||
|
||||
if(curr_color_map.size() > 0)
|
||||
{
|
||||
controller->setZoneLeds(prev_zone_id, curr_color_map);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void RGBController_LenovoUSB::DeviceUpdateMode()
|
||||
|
||||
Reference in New Issue
Block a user