esp_event: event stack overflow

This commit is contained in:
shangke 2017-01-16 17:06:12 +08:00
parent 455bb4271e
commit 53b0b03e63
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ config SYSTEM_EVENT_QUEUE_SIZE
config SYSTEM_EVENT_TASK_STACK_SIZE
int "Event loop task stack size"
default 2048
default 4096
help
Config system event task stack size in different application.

View file

@ -588,7 +588,7 @@ esp_err_t esp_eth_tx(uint8_t *buf, uint16_t size)
if (emac_config.emac_status != EMAC_RUNTIME_START || emac_config.emac_status == EMAC_RUNTIME_NOT_INIT) {
ESP_LOGI(TAG, "tx netif close");
ret = ERR_IF;
goto _exit;
return ret;
}
xSemaphoreTakeRecursive( emac_tx_xMutex, ( TickType_t ) portMAX_DELAY );