summaryrefslogtreecommitdiffhomepage
path: root/StatusLED.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-20 20:39:10 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-20 20:39:10 +0100
commit5fd637644c7529bfdc5291215f3f8ee1edd304c4 (patch)
tree2f135c3cae2bc034aa27b33b39dca95b992cb69f /StatusLED.h
parentef578ac72a70bfbe8aee726d43374c841d77ade4 (diff)
Fixed status led
Diffstat (limited to 'StatusLED.h')
-rw-r--r--StatusLED.h7
1 files changed, 4 insertions, 3 deletions
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<LED> m_leds; // on best effort base, those will all show the same status
Mode m_mode;
int m_bpm;
};
+