mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-13 08:51:03 +08:00
fix(lwip): Fix UDP sync send error
This commit is contained in:
@@ -303,7 +303,7 @@ static int8_t low_level_output(struct netif* netif, struct pbuf* p)
|
||||
*/
|
||||
err = esp_aio_sendto(&aio, NULL, 0);
|
||||
#if ESP_UDP
|
||||
udp_sync_set_ret(err);
|
||||
udp_sync_set_ret(netif, err);
|
||||
#endif
|
||||
if (err != ERR_OK) {
|
||||
if (err == ERR_MEM){
|
||||
|
||||
Reference in New Issue
Block a user