mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 09:05:59 +08:00
fix(esp8266): fix process event order error
This commit is contained in:
@ -71,7 +71,7 @@ esp_err_t esp_event_send(system_event_t *event)
|
||||
return ESP_ERR_INVALID_STATE;
|
||||
}
|
||||
|
||||
int ret = wifi_queue_send(s_event_queue, event, 0, 1);
|
||||
int ret = wifi_queue_send(s_event_queue, event, 0, OSI_QUEUE_SEND_FRONT);
|
||||
if (ret != true) {
|
||||
if (event) {
|
||||
ESP_LOGE(TAG, "e=%d f", event->event_id);
|
||||
|
Reference in New Issue
Block a user