Fix HID Host Class driver sending incorrect ReportType values to the device when...
[pub/USBasp.git] / Projects / Webserver / Lib / uIPManagement.c
index c7773c4..18e355b 100644 (file)
@@ -61,7 +61,7 @@ void uIPManagement_Init(void)
        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
@@ -212,7 +212,7 @@ static void uIPManagement_ManageConnections(void)
                        }\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