MCPcopy Create free account
hub / github.com/BruceDevices/firmware / setLedEffectDirection

Method setLedEffectDirection

src/core/config.cpp:631–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631void BruceConfig::setLedEffectDirection(int value) {
632 ledEffectDirection = value;
633 validateLedEffectDirectionValue();
634 saveFile();
635}
636
637void BruceConfig::validateLedEffectDirectionValue() {
638 if (ledEffectDirection > 1 || ledEffectDirection == 0) ledEffectDirection = 1;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected