More effects use FRAMETIME

This commit is contained in:
cschwinne
2019-10-07 20:17:52 +02:00
parent f30ffb4413
commit ae1bc96006
4 changed files with 52 additions and 50 deletions

View File

@@ -89,10 +89,6 @@ bool WS2812FX::modeUsesLock(uint8_t m)
return false;
}
void WS2812FX::setPixelColor(uint16_t n, CRGB fastled) {
setPixelColor(n, fastled.red, fastled.green, fastled.blue, 0);
}
void WS2812FX::setPixelColor(uint16_t n, uint32_t c) {
uint8_t w = (c >> 24) & 0xFF;
uint8_t r = (c >> 16) & 0xFF;