X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..d03d6513d0d24cf63225c8d3dfa07675d9107f40:/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c diff --git a/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c b/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c index 148fdf2f1..e31f9a336 100644 --- a/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c +++ b/Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c @@ -36,7 +36,7 @@ #include "RNDISEthernetHost.h" -/** Buffer to hold incomming and outgoing Ethernet packets. */ +/** Buffer to hold incoming and outgoing Ethernet packets. */ uint8_t PacketBuffer[1024]; /** LUFA RNDIS Class driver interface configuration and state information. This structure is @@ -143,10 +143,11 @@ int main(void) printf("Device Vendor ID: 0x%08lX\r\n", VendorID); printf("RNDIS Device Enumerated.\r\n"); + LEDs_SetAllLEDs(LEDMASK_USB_READY); USB_HostState = HOST_STATE_Configured; break; case HOST_STATE_Configured: - PrintIncommingPackets(); + PrintIncomingPackets(); break; } @@ -156,8 +157,8 @@ int main(void) } } -/** Prints incomming packets from the attached RNDIS device to the serial port. */ -void PrintIncommingPackets(void) +/** Prints incoming packets from the attached RNDIS device to the serial port. */ +void PrintIncomingPackets(void) { if (RNDIS_Host_IsPacketReceived(&Ethernet_RNDIS_Interface)) {