diff --git a/src/modm/ui/led/rgb.hpp b/src/modm/ui/led/rgb.hpp index b18ccc9f53..e4ddd8831c 100644 --- a/src/modm/ui/led/rgb.hpp +++ b/src/modm/ui/led/rgb.hpp @@ -46,9 +46,9 @@ class RgbLed { absolute = color; - red.setBrightness(color.red().value()); - green.setBrightness(color.green().value()); - blue.setBrightness(color.blue().value()); + red.setBrightness(color.red()); + green.setBrightness(color.green()); + blue.setBrightness(color.blue()); } inline ::modm::color::Rgb888