8000 Fix semaphores in IDF & std::string assert by h2zero · Pull Request #1 · h2zero/esp32-snippets · GitHub
[go: up one dir, main page]

Skip to content

Fix semaphores in IDF & std::string assert #1

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

Merged
merged 1 commit into from
May 1, 2019
Merged

Conversation

h2zero
Copy link
Owner
@h2zero h2zero commented May 1, 2019

BLE callbacks no longer allow giving a mutex semaphore, changed it to a binary. Also the callback runs on core 0 and the library on core 1, after giving the semaphore from the call back both cores occasionally write the m_owner variable of the semaphore at the same time causing an assert error.

@h2zero h2zero merged commit e2fbb23 into master May 1, 2019
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.

1 participant
0