-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
delay(0) behavior changed #8947
Comments
Any examples outside of Core? Unintentionally (?) broken in #8802, since esp_try_delay never bothers to do anything with timeout of 0 and treats it as end of usual delay cycle that happens after yield happened. Arduino/cores/esp8266/coredecls.h Line 69 in 521ae60
Arduino/cores/esp8266/core_esp8266_main.cpp Lines 168 to 172 in 521ae60
Suppose the fix is to wire this even earlier
So it calls esp_delay(0) instead of the blocking variant |
Referenced in Issue This one is interesting. It calls
That was my thinking. However, with |
Basic Infos
Platform
Settings in IDE
Problem Description
A blocking library function that uses
delay(0)
will fail with Software WDT Reset.This last worked in Core version 3.1.0
Changes made in commit 39080e3 altered this behavior
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: