aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-05-22 08:28:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-05-22 08:28:40 +0000
commit3cba88e4c05d6a3c25ffa9c7185d41a84b7f72b1 (patch)
treef356fef599a6b9fd290f99ecf694b6f84f8a61b7 /Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
parente349974aa9fdd6679a385d0da66005a27706b275 (diff)
downloadlufa-3cba88e4c05d6a3c25ffa9c7185d41a84b7f72b1.tar.gz
lufa-3cba88e4c05d6a3c25ffa9c7185d41a84b7f72b1.tar.bz2
lufa-3cba88e4c05d6a3c25ffa9c7185d41a84b7f72b1.zip
Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c')
-rw-r--r--Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
index dc9682a05..adcb2939a 100644
--- a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
+++ b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
@@ -63,7 +63,10 @@ USB_ClassInfo_RNDIS_Device_t Ethernet_RNDIS_Interface =
},
};
+/** Global to store the incoming frame from the host before it is processed by the device. */
static Ethernet_Frame_Info_t FrameIN;
+
+/** Global to store the outgoing frame created in the device before it is sent to the host. */
static Ethernet_Frame_Info_t FrameOUT;
/** Main program entry point. This routine contains the overall program flow, including initial