MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / SetLED

Method SetLED

RGBController/RGBController.cpp:1566–1572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1564}
1565
1566void RGBController::SetLED(unsigned int led, RGBColor color)
1567{
1568 if(led < colors.size())
1569 {
1570 colors[led] = color;
1571 }
1572}
1573
1574void RGBController::SetAllLEDs(RGBColor color)
1575{

Callers 2

setSelectionColorMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected