mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Merge branch 'feature/cmake' into 'master'
Merge experimental CMake support to master See merge request idf/esp-idf!3024
This commit is contained in:
@@ -292,8 +292,8 @@ static void emac_set_user_config_data(eth_config_t *config)
|
||||
#if DMA_RX_BUF_NUM > 9
|
||||
emac_config.emac_flow_ctrl_enable = config->flow_ctrl_enable;
|
||||
#else
|
||||
if (config->flow_ctrl_enable == true) {
|
||||
ESP_LOGE(TAG, "eth flow ctrl init err!!! Please run make menuconfig and make sure DMA_RX_BUF_NUM > 9 .");
|
||||
if(config->flow_ctrl_enable == true) {
|
||||
ESP_LOGE(TAG, "Can only configure flow_ctrl_enable==true if DMA_RX_BUF_NUM in menuconfig is >9. Disabling flow control.");
|
||||
}
|
||||
emac_config.emac_flow_ctrl_enable = false;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user