diff --git a/src/led.cpp b/src/led.cpp index 7e88799..5d15efe 100644 --- a/src/led.cpp +++ b/src/led.cpp @@ -95,8 +95,9 @@ void Led::setBrightness(uint8_t brightness) { if (brightness > 254) { // don't set first byte to 255 on tm1829 FastLED.setBrightness(254); } else { - uint8_t b = pow(((double)brightness/255.0), 4.2) * 255.0; - FastLED.setBrightness(b); +// uint8_t b = pow(((double)brightness/255.0), 4.2) * 255.0; +// FastLED.setBrightness(b); + FastLED.setBrightness(brightness); } }