Skip to content

Commit a0886af

Browse files
authored
fix(rgbled): suffix
1 parent 0ca996a commit a0886af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ void neopixelWrite(uint8_t pin, uint8_t red_val, uint8_t green_val, uint8_t blue
2929
return;
3030
}
3131

32-
#if defined RGB_BUILTIN_LED_COLOR_ORDER_CHANGE
32+
#if defined RGB_BUILTIN_LED_COLOR_ORDER
3333
// the onboard RGB LED has a different color order
3434
const int color[3];
35-
switch (RGB_BUILTIN_LED_COLOR_ORDER_CHANGE) {
35+
switch (RGB_BUILTIN_LED_COLOR_ORDER) {
3636
case LED_COLOR_ORDER_RGB:
3737
color[0] = red_val;
3838
color[1] = green_val;

0 commit comments

Comments
 (0)