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

Method DeviceSaveMode

RGBController/RGBController_Network.cpp:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void RGBController_Network::DeviceSaveMode()
86{
87 unsigned char * data = GetModeDescription(active_mode, client->GetProtocolVersion());
88 unsigned int size;
89
90 memcpy(&size, &data[0], sizeof(unsigned int));
91
92 client->SendRequest_RGBController_SaveMode(dev_idx, data, size);
93
94 delete[] data;
95}
96
97/*-----------------------------------------------------*\
98| This function overrides RGBController::UpdateLEDs()! |

Callers

nothing calls this directly

Calls 2

GetProtocolVersionMethod · 0.45

Tested by

no test coverage detected