New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
[pub/USBasp.git] / Projects / Webserver / Lib / DHCPClientApp.c
index 79170fa..64cd707 100644 (file)
@@ -50,7 +50,7 @@ void DHCPClientApp_Init(void)
        uip_ipaddr(&DHCPServerIPAddress, 255, 255, 255, 255);\r
        AppState->DHCPClient.Connection = uip_udp_new(&DHCPServerIPAddress, HTONS(DHCPC_SERVER_PORT));\r
        \r
-       /* If the connection was sucessfully created, bind it to the local DHCP client port */\r
+       /* If the connection was successfully created, bind it to the local DHCP client port */\r
        if(AppState->DHCPClient.Connection != NULL)\r
        {\r
                uip_udp_bind(AppState->DHCPClient.Connection, HTONS(DHCPC_CLIENT_PORT));\r
@@ -240,7 +240,7 @@ uint8_t DHCPClientApp_SetOption(uint8_t* DHCPOptionList, uint8_t Option, uint8_t
  */\r
 bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination)\r
 {\r
-       /* Look through the incomming DHCP packet's options list for the requested option */\r
+       /* Look through the incoming DHCP packet's options list for the requested option */\r
        while (*DHCPOptionList != DHCP_OPTION_END)\r
        {\r
                /* Check if the current DHCP option in the packet is the one requested */\r
@@ -249,7 +249,7 @@ bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Dest
                        /* Copy request option's data to the destination buffer */\r
                        memcpy(Destination, &DHCPOptionList[2], DHCPOptionList[1]);\r
                        \r
-                       /* Indicate that the requested option data was sucessfully retrieved */\r
+                       /* Indicate that the requested option data was successfully retrieved */\r
                        return true;\r
                }\r
                \r
@@ -257,7 +257,7 @@ bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Dest
                DHCPOptionList += (DHCPOptionList[1] + 2);\r
        }\r
        \r
-       /* Requested option not found in the incomming packet's DHCP options list */\r
+       /* Requested option not found in the incoming packet's DHCP options list */\r
        return false;\r
 }\r
 #endif\r