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

Function getLedAdjustment

Software/src/Settings.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace
42{
43inline const WBAdjustment getLedAdjustment(size_t ledIndex)
44{
45 using namespace SettingsScope;
46
47 WBAdjustment wba;
48 wba.red = Settings::getLedCoefRed(ledIndex);
49 wba.green = Settings::getLedCoefGreen(ledIndex);
50 wba.blue = Settings::getLedCoefBlue(ledIndex);
51 return wba;
52}
53}
54
55//

Callers 1

getLedCoefsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected