More endianness porting of the LUFA device mode class drivers.
Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
This commit is contained in:
parent
7c7778e3ce
commit
85e85befc4
18 changed files with 288 additions and 150 deletions
|
@ -59,7 +59,7 @@ const IP_Address_t ClientIPAddress = {CLIENT_IP_ADDRESS};
|
|||
void Ethernet_ProcessPacket(Ethernet_Frame_Info_t* const FrameIN,
|
||||
Ethernet_Frame_Info_t* const FrameOUT)
|
||||
{
|
||||
DecodeEthernetFrameHeader(FrameIN);
|
||||
DecodeEthernetFrameHeader(FrameIN->FrameData);
|
||||
|
||||
/* Cast the incoming Ethernet frame to the Ethernet header type */
|
||||
Ethernet_Frame_Header_t* FrameINHeader = (Ethernet_Frame_Header_t*)&FrameIN->FrameData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue