Added new Relay Controller Board project (thanks to OBinou).
[pub/USBasp.git] / Demos / Host / ClassDriver / RNDISEthernetHost / RNDISEthernetHost.c
index 61a7115..5b2bfe1 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -36,7 +36,7 @@
  \r
 #include "RNDISEthernetHost.h"\r
 \r
  \r
 #include "RNDISEthernetHost.h"\r
 \r
-/** Buffer to hold incomming and outgoing Ethernet packets. */\r
+/** Buffer to hold incoming and outgoing Ethernet packets. */\r
 uint8_t PacketBuffer[1024];\r
 \r
 /** LUFA RNDIS Class driver interface configuration and state information. This structure is\r
 uint8_t PacketBuffer[1024];\r
 \r
 /** LUFA RNDIS Class driver interface configuration and state information. This structure is\r
@@ -146,7 +146,7 @@ int main(void)
                                USB_HostState = HOST_STATE_Configured;\r
                                break;\r
                        case HOST_STATE_Configured:\r
                                USB_HostState = HOST_STATE_Configured;\r
                                break;\r
                        case HOST_STATE_Configured:\r
-                               PrintIncommingPackets();\r
+                               PrintIncomingPackets();\r
                        \r
                                break;\r
                }\r
                        \r
                                break;\r
                }\r
@@ -156,8 +156,8 @@ int main(void)
        }\r
 }\r
 \r
        }\r
 }\r
 \r
-/** Prints incomming packets from the attached RNDIS device to the serial port. */\r
-void PrintIncommingPackets(void)\r
+/** Prints incoming packets from the attached RNDIS device to the serial port. */\r
+void PrintIncomingPackets(void)\r
 {\r
        if (RNDIS_Host_IsPacketReceived(&Ethernet_RNDIS_Interface))\r
        {\r
 {\r
        if (RNDIS_Host_IsPacketReceived(&Ethernet_RNDIS_Interface))\r
        {\r