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