aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-29 13:32:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-29 13:32:36 +0000
commit9257f4ab8ea8ade1df5b576c114f715302051cc6 (patch)
treed3c30d0fec346836104080345693ac8d1f157cc8 /Demos/Device/ClassDriver
parent0557676013f41487701a8951d3dbb4aee3117882 (diff)
downloadlufa-9257f4ab8ea8ade1df5b576c114f715302051cc6.tar.gz
lufa-9257f4ab8ea8ade1df5b576c114f715302051cc6.tar.bz2
lufa-9257f4ab8ea8ade1df5b576c114f715302051cc6.zip
Add briefs for the library core structures.
Diffstat (limited to 'Demos/Device/ClassDriver')
-rw-r--r--Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c b/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c
index 42041b5d8..6500f3ba0 100644
--- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c
+++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c
@@ -74,7 +74,7 @@ void TCP_TCPTask(USB_ClassInfo_RNDIS_Device_t* RNDISInterfaceInfo)
}
/* Get pointer to the output frame info struct for convenience */
- Ethernet_Frame_Info_t* FrameOUT = (Ethernet_Frame_Info_t*)&RNDISInterfaceInfo->State.FrameOUT;
+ Ethernet_Frame_Info_t* FrameOUT = &RNDISInterfaceInfo->State.FrameOUT;
/* Bail out early if there is already a frame waiting to be sent in the Ethernet OUT buffer */
if (FrameOUT->FrameInBuffer)