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

Method SetRGB2V2

Controllers/MSIGPUController/MSIGPUv2Controller.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void MSIGPUv2Controller::SetRGB2V2(unsigned char red, unsigned char green, unsigned char blue)
52{
53 unsigned char buffer[3];
54 buffer[2]=red;
55 buffer[1]=green;
56 buffer[0]=blue;
57 MSIGPUBlockWrite(MSI_GPU_V2_REG_COLOR_BLOCK2_BASE, &buffer[0], sizeof(buffer));
58}
59
60void MSIGPUv2Controller::SetRGB3V2(unsigned char red, unsigned char green, unsigned char blue)
61{

Callers 1

DeviceUpdateAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected