MCPcopy Create free account
hub / github.com/Atarity/Lightpack / SetCountLeds

Method SetCountLeds

Software/src/LightpackPluginInterface.cpp:466–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466bool LightpackPluginInterface::SetCountLeds(QString sessionKey, int countLeds)
467{
468 if (lockSessionKeys.isEmpty()) return false;
469 if (lockSessionKeys[0]!=sessionKey) return false;
470
471 Settings::setNumberOfLeds(Settings::getConnectedDevice(), countLeds);
472 emit updateCountLeds(countLeds);
473 return true;
474
475}
476
477int LightpackPluginInterface::GetCountLeds()
478{

Callers 1

clientProcessCommandsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected