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

Allow disabling the use of delay() calls. #450

Merged
merged 2 commits into from
May 7, 2018
Merged

Conversation

crankyoldgit
Copy link
Owner

Per Issue #430, the use of delay() calls is incompatible with the AsyncWebserver
library. Give users of the library a way to send IR messages without the delay()
calls which cause it to break the callbacks of AsyncWebserver. This is not
without risk as the delay() calls feed the WDT.

No delay() calls means the user can easily cause the WDT to reset the ESP8266.
Thus the default is to use delay() calls where possible, and make this a
compile-time option to try to limit people shooting themselves in the foot.

Per Issue #430, the use of delay() calls is incompatible with the AsyncWebserver
library. Give users of the library a way to send IR messages without the delay()
calls which cause it to break the callbacks of AsyncWebserver. This is not
without risk as the delay() calls feed the WDT.

No delay() calls means the user can easily cause the WDT to reset the ESP8266.
Thus the default is to use delay() calls where possible, and make this a
compile-time option to try to limit people shooting themselves in the foot.
It's a more descriptive and accurate for what it does.
@crankyoldgit
Copy link
Owner Author

CC'ing @arihantdaga as they will be testing & checking it. Your feedback is welcome.

@crankyoldgit
Copy link
Owner Author

Confirmed it works in #430 (comment)

@crankyoldgit crankyoldgit merged commit ffba70b into master May 7, 2018
@crankyoldgit crankyoldgit deleted the asyncweb-support branch May 7, 2018 13:39
@crankyoldgit crankyoldgit restored the asyncweb-support branch May 7, 2018 13:39
@crankyoldgit crankyoldgit deleted the asyncweb-support branch May 7, 2018 15:37
@crankyoldgit crankyoldgit mentioned this pull request May 20, 2018
crankyoldgit added a commit that referenced this pull request May 20, 2018
**[Bug Fixes]**
- Fix crash in IRMQTTServer when compiled under Arduino IDE. (#455)
- Default bit length not set for RCMM in IRMQTTServer example. (#456)
- Bad acknowledgements for some A/C protocols in IRMQTTServer example. (#460)

**[Features]**
- Allow disabling the use of delay() calls. (#450)
- Initial support for G.I. Cable protocol. (#458)
- Support of Hitachi A/C 13 & 53 byte messages. (#461)

**[Misc]**
- Auto Analyse Raw Data script converted to Python. (#454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants