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

Workaround for timeout yield() removal #11

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

mcspr
Copy link

@mcspr mcspr commented Feb 2, 2023

See esp8266/Arduino#8822

From my understanding, upstream chose to remove some platform specific code and implicit yielding in timeouts.

Looking at a similar code for Teensy...
Since we definitely know that things go through the driver, make yielding there and make use our optimistic variant to delay every ~100ms like it did before

@earlephilhower earlephilhower merged commit 46151c9 into earlephilhower:master Feb 2, 2023
@mcspr mcspr deleted the arduino8822 branch February 2, 2023 21:00
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.

2 participants