We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6fe0c1 commit 383f8f3Copy full SHA for 383f8f3
src/hardware/BMC-Pixels.h
@@ -118,7 +118,11 @@ class BMCPixels {
118
}
119
120
void clockBeat(uint16_t speed){
121
+#if BMC_MAX_PIXELS > 0
122
updateRainbowColor(60000/speed);
123
+#else
124
+ speed = 0;
125
+#endif
126
127
128
void reassign(){
@@ -536,7 +540,6 @@ class BMCPixels {
536
540
// if the target color BMC_COLOR_RAINBOW then we will go thru all colors
537
541
t_color = rainbowCurrentColor;
538
542
setDimColor(t_index, t_color);
539
- //updateRainbowColor();
543
#endif
544
545
0 commit comments