Skip to content

Commit

Permalink
Remove const to allow changing the order
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Aug 19, 2024
1 parent e94fe39 commit 530b263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp32/esp32-hal-rgb-led.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void rgbLedWriteOrdered(uint8_t pin, rgb_led_color_order_t order, uint8_t red_va
}

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

switch (order) {
case LED_COLOR_ORDER_RGB:
Expand Down

0 comments on commit 530b263

Please sign in to comment.