mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
lwip: rework according review comments
This commit is contained in:
@@ -72,8 +72,10 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
||||
s16_t ip_hdr_offset = SIZEOF_ETH_HDR;
|
||||
#endif /* LWIP_ARP || ETHARP_SUPPORT_VLAN */
|
||||
|
||||
#ifdef ESP_PERF
|
||||
if (p->len > DBG_PERF_FILTER_LEN) DBG_PERF_PATH_SET(DBG_PERF_DIR_RX, DBG_PERF_POINT_LWIP_IN);
|
||||
#if ESP_PERF
|
||||
if (p->len > DBG_PERF_FILTER_LEN) {
|
||||
DBG_PERF_PATH_SET(DBG_PERF_DIR_RX, DBG_PERF_POINT_LWIP_IN);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (p->len <= SIZEOF_ETH_HDR) {
|
||||
|
Reference in New Issue
Block a user