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 delay() #115

Merged
merged 1 commit into from
Nov 16, 2020
Merged

Fix delay() #115

merged 1 commit into from
Nov 16, 2020

Conversation

ebuehrle
Copy link
Contributor

Calling delay(0) would unexpectedly block for a while. This fixes the issue.

Calling delay(0) would unexpectedly block for a while
@MCUdude
Copy link
Owner

MCUdude commented Nov 16, 2020

Thanks! But why would you call delay(0)?

@MCUdude MCUdude merged commit 4fe0ca0 into MCUdude:master Nov 16, 2020
@per1234
Copy link
Contributor

per1234 commented Nov 16, 2020

You might find this in code that is written to be cross-platform with ESP8266, where it is one way to reset the watchdog:
https://arduino-esp8266.readthedocs.io/en/2.7.4_a/reference.html#timing-and-delays

@ebuehrle
Copy link
Contributor Author

Exactly @per1234. By the way, thank you for this great library, @MCUdude.

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.

None yet

3 participants