-
Notifications
You must be signed in to change notification settings - Fork 58
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
esp_yield() and esp_schedule() #11
Comments
Now I've just seen that the 2 functions are actually empty .... I thought that they are something official ... 🙄 |
esp_yield should help returning immeditally from the current function/ISR |
esp_yield() is "switch from sketch context to scheduler context". |
I'm not familiar with these functions. Lines 22 to 23 in 8aab829
|
Until now, these functions existed in the code but were not used, because:
ping_start(....) is immediately returning, so if true, then it returns before running esp_yield() and if false, then esp_yield() is not triggered.
and
esp_schedule() was in the callback function which (as mentioned in issue #6 ) was never called.
Since we have issues: #6, #8 , #9 , how should : esp_yield() and esp_schedule() be treated ?
PS. I have no proposal here, since I am not familiar with these 2. I'm not sure about their functionality.
The text was updated successfully, but these errors were encountered: