Skip to content

Commit 1afb23b

Browse files
authored
Merge pull request #4441 from tung7970/fix-mbedos
lwip - fix typo and cleanup coding style
2 parents 88cbc7e + af3d6a5 commit 1afb23b

File tree

1 file changed

+2
-6
lines changed
  • features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Realtek

1 file changed

+2
-6
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Realtek/lwipopts_conf.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,15 @@
2020
#define LWIPOPTS_CONF_H
2121

2222
#define LWIP_TRANSPORT_ETHERNET 1
23-
#define ETHMEM_SECTIO
24-
25-
//#define TCPIP_THREAD_STACKSIZE 2048
23+
#define ETHMEM_SECTION
2624

2725
/* ---------- Pbuf options ---------- */
2826
#define MEM_SIZE (10*1600)
2927
#define TCP_SND_QUEUELEN 60
3028
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
31-
#define TCP_MSS 1460
29+
#define TCP_MSS 1460
3230
#define TCP_SND_BUF (10 * TCP_MSS)
3331
#define TCP_WND (6 * TCP_MSS)
3432
#define PBUF_POOL_SIZE 10
3533

3634
#endif
37-
38-

0 commit comments

Comments
 (0)