From 5fd637644c7529bfdc5291215f3f8ee1edd304c4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 20 Jan 2025 20:39:10 +0100 Subject: Fixed status led --- StatusLED.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'StatusLED.h') diff --git a/StatusLED.h b/StatusLED.h index b1c0f23..9348f19 100644 --- a/StatusLED.h +++ b/StatusLED.h @@ -22,16 +22,17 @@ public: StatusLED(); - void addLED(const LED& led); + void add(const LED& led); void setMode(Mode mode); void setBPM(int bpm); private: - void initLED(const LED& led); - void updateLED(const LED& led); + bool init(const LED& led); + void update(const LED& led); std::vector m_leds; // on best effort base, those will all show the same status Mode m_mode; int m_bpm; }; + -- cgit v1.2.3