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

Release BT controller unused memory in the right place #1095

Merged
merged 1 commit into from Jun 27, 2020
Merged

Release BT controller unused memory in the right place #1095

merged 1 commit into from Jun 27, 2020

Conversation

buxtronix
Copy link
Contributor

Description:

Frees unused BT memory at the correct state of initialisation. Espressif docs state that this call should be made prior to BT stack init, but it was being done afterwards.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/controller_vhci.html#_CPPv429esp_bt_controller_mem_release13esp_bt_mode_t

This appears to have improved BT stability somewhat (for me).

Related issue (if applicable): 869

@glmnet glmnet merged commit ca4107d into esphome:dev Jun 27, 2020
This was referenced Jul 26, 2020
sashao pushed a commit to sashao/esphome that referenced this pull request Oct 23, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants