Skip to content

Commit

Permalink
add ShowColorStyle::getColor
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Mar 18, 2024
1 parent 432471a commit a0ebc0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions styles/show_color.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class ShowColorStyle {
void run(BladeBase *blade) {}
SimpleColor getColor(int led) { return color_; }
static void SetColor(Color16 color) { color_ = color; }
static Color16& getColor() { return color_; }
private:
static Color16 color_;
};
Expand Down

0 comments on commit a0ebc0e

Please sign in to comment.