Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgb implicit conversion
Browse files Browse the repository at this point in the history
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
@@ -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

0 comments on commit eed6979

Please sign in to comment.