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

Fix addressable effects #590

Merged
merged 1 commit into from Jun 1, 2019
Merged

Fix addressable effects #590

merged 1 commit into from Jun 1, 2019

Conversation

OttoWinter
Copy link
Member

@OttoWinter OttoWinter commented Jun 1, 2019

Description:

Issue was that the ESPRange Iterator was passed a pointer to the ESPRange. But of when using a C++ for-each loop the ESPRange gets destroyed and the iterator accesses the old memory.

Related issue (if applicable): fixes esphome/issues#367

Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#

Checklist:

  • The code change is tested and works locally.
  • Tests have been added to verify that the new code works (under tests/ folder).

If user exposed functionality or configuration variables are added/changed:

@OttoWinter OttoWinter added this to the 1.13.3 milestone Jun 1, 2019
@OttoWinter OttoWinter merged commit f921997 into dev Jun 1, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-addressable-effects branch June 1, 2019 10:00
OttoWinter added a commit that referenced this pull request Jun 1, 2019
@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FastLED Rainbow result in boot loop
1 participant