mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-10 18:29:27 +00:00
conditionally start tcp and udp apps
This commit is contained in:
parent
5fe219f074
commit
056badf0bd
|
@ -136,11 +136,14 @@ main_thread(void *arg)
|
|||
|
||||
netif_add(&ipaddr, &netmask, &gw, NULL, loopif_init,
|
||||
tcpip_input);
|
||||
|
||||
#if LWIP_TCP
|
||||
tcpecho_init();
|
||||
shell_init();
|
||||
httpd_init();
|
||||
#endif
|
||||
#if LWIP_UDP
|
||||
udpecho_init();
|
||||
#endif
|
||||
|
||||
printf("Applications started.\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user