Merge branch 'bugfix/event_stack_overflow' into 'master'

esp_event: event stack overflow



See merge request !424
This commit is contained in:
Wu Jian Gang
2017-01-16 18:56:46 +08:00
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 config SYSTEM_EVENT_TASK_STACK_SIZE
int "Event loop task stack size" int "Event loop task stack size"
default 2048 default 4096
help help
Config system event task stack size in different application. 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) { if (emac_config.emac_status != EMAC_RUNTIME_START || emac_config.emac_status == EMAC_RUNTIME_NOT_INIT) {
ESP_LOGI(TAG, "tx netif close"); ESP_LOGI(TAG, "tx netif close");
ret = ERR_IF; ret = ERR_IF;
goto _exit; return ret;
} }
xSemaphoreTakeRecursive( emac_tx_xMutex, ( TickType_t ) portMAX_DELAY ); xSemaphoreTakeRecursive( emac_tx_xMutex, ( TickType_t ) portMAX_DELAY );