8000 esp32s2: don't delete the event loop by jepler · Pull Request #3716 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

esp32s2: don't delete the event loop #3716

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 2 commits into from
Nov 19, 2020
Merged

Conversation

jepler
Copy link
@jepler jepler commented Nov 18, 2020

.. it seems to make the esp-idf grumpy.

.. it seems to make the esp-idf grumpy.
@jepler
Copy link
Author
jepler commented Nov 18, 2020

This was to avoid an error in debug builds but the cure is worse than the disease.

esp_err_t esp_event_loop_create_default(void)
{
    if (s_default_loop) {
        return ESP_ERR_INVALID_STATE;
    }

@tannewt
< 8000 div class="timeline-comment-header clearfix d-flex" data-morpheus-enabled="false">
Copy link
Member
tannewt commented Nov 18, 2020

How about tracking if netif has been started once and only get the loop when it hasn't been?

deinitting these seems to cause problems.
Copy link
Member
@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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
0