Init chargen if configured to

This commit is contained in:
goldsimon 2009-11-20 16:21:18 +00:00
parent ad8f9685bd
commit 6935d26ced

View File

@ -63,6 +63,7 @@
#include "apps/ping/ping.h"
#include "apps/rtp/rtp.h"
#include "apps/sntp/sntp.h"
#include "apps/chargen/chargen.h"
#if NO_SYS
/* ... then we need information about the timer intervals: */
@ -348,6 +349,10 @@ apps_init()
}
#endif /* LWIP_DNS_APP && LWIP_DNS */
#if LWIP_CHARGEN_APP && LWIP_SOCKET
chargen_init();
#endif /* LWIP_CHARGEN_APP && LWIP_SOCKET */
#if LWIP_PING_APP && LWIP_RAW && LWIP_ICMP
ping_init();
#endif /* LWIP_PING_APP && LWIP_RAW && LWIP_ICMP */