Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGBCalibrate example - index out of bounds #928

Open
toybuilder opened this issue Nov 29, 2019 · 1 comment
Open

RGBCalibrate example - index out of bounds #928

toybuilder opened this issue Nov 29, 2019 · 1 comment

Comments

@toybuilder
Copy link

@toybuilder toybuilder commented Nov 29, 2019

The NUM_LEDS for the example is 6. But the code writes to leds[0] through leds[6].
leds[6] is out of bounds and crashes the example on ESP32.

@toybuilder

This comment has been minimized.

Copy link
Author

@toybuilder toybuilder commented Nov 29, 2019

Small change made to fix this in the example. Pull request made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.