From fe0c6905d6e8b0f3a9cc6298e6cdcb994fbafa05 Mon Sep 17 00:00:00 2001 From: Zhang Jun Hao Date: Wed, 29 Aug 2018 19:57:50 +0800 Subject: [PATCH] fix(lwip): fix some writting error --- components/esp8266/lib/libpp.a | Bin 242708 -> 242708 bytes .../lwip/port/esp8266/netif/ethernetif.c | 4 ++-- components/tcpip_adapter/tcpip_adapter_lwip.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp8266/lib/libpp.a b/components/esp8266/lib/libpp.a index ce4bdfac09d51f1eeaa14a776fe3f7205db9fa30..05b23482509a404987671466ed9e8c010c763b06 100644 GIT binary patch delta 226 zcmbR8f^W(Tz6sLoX2u3429|~!m1c{>*polp6We@Cd^rb-z&wTZ@+bmX4#BD@0=H86 zD`5hgKioUd1ml1Wyz?-8EwaG&fPTh&4-}C**BPB3qKMe+WIE4}BBF7UX*G(&wtu+D OG}{kF%?btPoXG$LWm8E2 delta 226 zcmbR8f^W(Tz6sLorY0t)My3WEm1c{>*polp6We@Cd^rb-z&wTZ@+bmX4#BD@0=H86 zD`5hgKioUd1ml1Wyz?-8EwaG&fPTh&4-}C**BPB3qKMe+WIE4}BBF7UX*G(&wtu+D OG}{kF%?btPoXG$X^HXC0 diff --git a/components/lwip/port/esp8266/netif/ethernetif.c b/components/lwip/port/esp8266/netif/ethernetif.c index 346c4663..8ec20eca 100644 --- a/components/lwip/port/esp8266/netif/ethernetif.c +++ b/components/lwip/port/esp8266/netif/ethernetif.c @@ -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; } diff --git a/components/tcpip_adapter/tcpip_adapter_lwip.c b/components/tcpip_adapter/tcpip_adapter_lwip.c index a4456c83..bb37573a 100644 --- a/components/tcpip_adapter/tcpip_adapter_lwip.c +++ b/components/tcpip_adapter/tcpip_adapter_lwip.c @@ -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);