Skip to content

Commit

Permalink
rgb implicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSaw committed Mar 4, 2024
1 parent 23df51c commit eed6979
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modm/ui/led/rgb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eed6979

Please sign in to comment.