mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'Bugfix/add_netif_assert_master' into 'master'
fix bug for netif add crash Closes WIFI-1219 See merge request espressif/esp-idf!6937
This commit is contained in:
commit
3224f24ef6
@ -50,7 +50,7 @@ esp_err_t esp_event_send_legacy(system_event_t *event)
|
||||
return ESP_ERR_INVALID_STATE;
|
||||
}
|
||||
|
||||
return esp_event_post(SYSTEM_EVENT, event->event_id, event, sizeof(*event), 0);
|
||||
return esp_event_post(SYSTEM_EVENT, event->event_id, event, sizeof(*event), portMAX_DELAY);
|
||||
}
|
||||
|
||||
esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user