mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-20 16:46:17 +08:00
fix(lwip): fix some writting error
This commit is contained in:
Binary file not shown.
@ -77,7 +77,7 @@ static void insert_to_list(int fd, struct pbuf* p)
|
||||
tmp_pbuf_list1 = (pbuf_send_list_t*)malloc(sizeof(pbuf_send_list_t));
|
||||
|
||||
if (!tmp_pbuf_list1) {
|
||||
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no menory malloc pbuf list error\n"));
|
||||
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no memory malloc pbuf list error\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -107,7 +107,7 @@ static void insert_to_list(int fd, struct pbuf* p)
|
||||
tmp_pbuf_list1 = (pbuf_send_list_t*)malloc(sizeof(pbuf_send_list_t));
|
||||
|
||||
if (!tmp_pbuf_list1) {
|
||||
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no menory malloc pbuf list error\n"));
|
||||
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no memory malloc pbuf list error\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -241,7 +241,7 @@ esp_err_t tcpip_adapter_start(tcpip_adapter_if_t tcpip_if, uint8_t *mac, tcpip_a
|
||||
}
|
||||
|
||||
if (esp_netif[tcpip_if] == NULL) {
|
||||
ESP_LOGE(TAG, "TCPIP adapter has no menory\n");
|
||||
ESP_LOGE(TAG, "TCPIP adapter has no memory\n");
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
memcpy(esp_netif[tcpip_if]->hwaddr, mac, NETIF_MAX_HWADDR_LEN);
|
||||
|
Reference in New Issue
Block a user