| 152 | } |
| 153 | |
| 154 | void EffectEngine::handlerSetLeds(int priority, const std::vector<ColorRgb>& ledColors, int timeout_ms, bool clearEffect) |
| 155 | { |
| 156 | int ledNum = _hyperInstance->getLedCount(); |
| 157 | if (ledNum == static_cast<int>(ledColors.size())) |
| 158 | _hyperInstance->setInputLeds(priority, ledColors, timeout_ms, false); |
| 159 | else for (auto&& effect : _activeEffects) |
| 160 | { |
| 161 | effect->setLedCount(ledNum); |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void EffectEngine::createSmoothingConfigs() |
| 166 | { |
nothing calls this directly
no test coverage detected