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 reset bug for esp32 by casting explicitly, should fix #2242 #2275

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

joniw
Copy link
Contributor

@joniw joniw commented Feb 1, 2019

This fixes the reset bug described in #2242 for me. When not casting explicitly, the the function addSelector_Head seems to run in a loop. It interprets the the strings as a bool.

If there is a better fix for this please point me to it.

@TD-er
Copy link
Member

TD-er commented Feb 1, 2019

Ohh, that's nasty.
I will merge it for now, but leave the issue open, since C-style casting is not really a good style.
I will later rename the function to make sure the casting is not going wrong.

@TD-er TD-er merged commit 0ad7fad into letscontrolit:mega Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants