Skip to content

Commit fe0c690

Browse files
author
Zhang Jun Hao
committed
fix(lwip): fix some writting error
1 parent d46f831 commit fe0c690

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/esp8266/lib/libpp.a

0 Bytes
Binary file not shown.

components/lwip/port/esp8266/netif/ethernetif.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void insert_to_list(int fd, struct pbuf* p)
7777
tmp_pbuf_list1 = (pbuf_send_list_t*)malloc(sizeof(pbuf_send_list_t));
7878

7979
if (!tmp_pbuf_list1) {
80-
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no menory malloc pbuf list error\n"));
80+
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no memory malloc pbuf list error\n"));
8181
return;
8282
}
8383

@@ -107,7 +107,7 @@ static void insert_to_list(int fd, struct pbuf* p)
107107
tmp_pbuf_list1 = (pbuf_send_list_t*)malloc(sizeof(pbuf_send_list_t));
108108

109109
if (!tmp_pbuf_list1) {
110-
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no menory malloc pbuf list error\n"));
110+
LWIP_DEBUGF(PBUF_CACHE_DEBUG, ("no memory malloc pbuf list error\n"));
111111
return;
112112
}
113113

components/tcpip_adapter/tcpip_adapter_lwip.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ esp_err_t tcpip_adapter_start(tcpip_adapter_if_t tcpip_if, uint8_t *mac, tcpip_a
241241
}
242242

243243
if (esp_netif[tcpip_if] == NULL) {
244-
ESP_LOGE(TAG, "TCPIP adapter has no menory\n");
244+
ESP_LOGE(TAG, "TCPIP adapter has no memory\n");
245245
return ESP_ERR_NO_MEM;
246246
}
247247
memcpy(esp_netif[tcpip_if]->hwaddr, mac, NETIF_MAX_HWADDR_LEN);

0 commit comments

Comments
 (0)