Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a64ffd0

Browse files
committedAug 7, 2024·
fix(esp32): Fixed the hint for the builtin neopixleWrite() function
1 parent 70786dc commit a64ffd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cores/esp32/esp32-hal-rgb-led.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void neopixelWrite(uint8_t pin, uint8_t red_val, uint8_t green_val, uint8_t blue
1515
return;
1616
}
1717

18-
int color[] = {green_val, red_val, blue_val}; // Color coding is in order GREEN, RED, BLUE
18+
int color[] = {red_val, green_val, blue_val};
1919
int i = 0;
2020
for (int col = 0; col < 3; col++) {
2121
for (int bit = 0; bit < 8; bit++) {

0 commit comments

Comments
 (0)
Please sign in to comment.