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

Method getLedCoefs

Software/src/Settings.cpp:1211–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209}
1210
1211QList<WBAdjustment> Settings::getLedCoefs()
1212{
1213 QList<WBAdjustment> result;
1214 const size_t numOfLeds = getNumberOfLeds(getConnectedDevice());
1215
1216 for(size_t led = 0; led < numOfLeds; ++led)
1217 result.append(getLedAdjustment(led));
1218
1219 return result;
1220}
1221
1222double Settings::getLedCoefRed(int ledIndex)
1223{

Callers

nothing calls this directly

Calls 2

getLedAdjustmentFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected