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

Method setUserTest

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:149–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 return state.getValue().at("config").count("usertest") != 0;
148}
149void Sensor::setUserTest(bool enabled)
150{
151 sendPutRequest("/config", nlohmann::json {{"usertest", enabled}}, CURRENT_FILE_INFO);
152}
153
154bool Sensor::hasURL() const
155{

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64