uip_setethaddr(MACAddress);\r
\r
/* DHCP/Server IP Settings Initialization */\r
- #if defined(ENABLE_DHCP)\r
+ #if defined(ENABLE_DHCP_CLIENT)\r
DHCPClientApp_Init();\r
#else\r
uip_ipaddr_t IPAddress, Netmask, GatewayIPAddress;\r
}\r
}\r
\r
- #if defined(ENABLE_DHCP)\r
+ #if defined(ENABLE_DHCP_CLIENT)\r
for (uint8_t i = 0; i < UIP_UDP_CONNS; i++)\r
{\r
/* Run periodic connection management for each UDP connection */\r