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

Method SetRGB1V2

Controllers/MSIGPUController/MSIGPUv2Controller.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void MSIGPUv2Controller::SetRGB1V2(unsigned char red, unsigned char green, unsigned char blue)
43{
44 unsigned char buffer[3];
45 buffer[2]=red;
46 buffer[1]=green;
47 buffer[0]=blue;
48 MSIGPUBlockWrite(MSI_GPU_V2_REG_COLOR_BLOCK1_BASE, &buffer[0], sizeof(buffer));
49}
50
51void MSIGPUv2Controller::SetRGB2V2(unsigned char red, unsigned char green, unsigned char blue)
52{

Callers 1

DeviceUpdateAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected