Skip to content

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
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