Closed StefaanVanDooren closed 4 years ago
One shouldn't be able to set saturationFadeSpeed to 0, because this results in a division by zero an crashes the lamp
int fadeOffset = millis() / (fadeSpeed * 1000 / NUM_LEDS) % NUM_LEDS;
Fixed in 851e09f
One shouldn't be able to set saturationFadeSpeed to 0, because this results in a division by zero an crashes the lamp
int fadeOffset = millis() / (fadeSpeed * 1000 / NUM_LEDS) % NUM_LEDS;