Skip to content

Commit 530b263

Browse files
committed
Remove const to allow changing the order
1 parent e94fe39 commit 530b263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/esp32-hal-rgb-led.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void rgbLedWriteOrdered(uint8_t pin, rgb_led_color_order_t order, uint8_t red_va
3434
}
3535

3636
// default WS2812B color order is G, R, B
37-
const int color[3] = {green_val, red_val, blue_val};
37+
int color[3] = {green_val, red_val, blue_val};
3838

3939
switch (order) {
4040
case LED_COLOR_ORDER_RGB:

0 commit comments

Comments
 (0)