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

Method DeviceUpdateMode

RGBController/RGBController_Network.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void RGBController_Network::DeviceUpdateMode()
74{
75 unsigned char * data = GetModeDescription(active_mode, client->GetProtocolVersion());
76 unsigned int size;
77
78 memcpy(&size, &data[0], sizeof(unsigned int));
79
80 client->SendRequest_RGBController_UpdateMode(dev_idx, data, size);
81
82 delete[] data;
83}
84
85void RGBController_Network::DeviceSaveMode()
86{

Callers

nothing calls this directly

Tested by

no test coverage detected