diff options
author | Dean Camera <[email protected]> | 2009-08-07 06:55:31 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-08-07 06:55:31 +0000 |
commit | d423090b26ade8912e669d6c6d3c5463e0669429 (patch) | |
tree | f443783209b96313146c539de92c408788d2778d /Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h | |
parent | 85c2716f2d37bb50d126102fcdd09fb78d26ebc5 (diff) | |
download | qmk_firmware-d423090b26ade8912e669d6c6d3c5463e0669429.tar.gz qmk_firmware-d423090b26ade8912e669d6c6d3c5463e0669429.zip |
Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets.
Revert change to Template_Endpoint_Control_R.c, which broke control stream reads.
Remove uneeded ADC.h include in the class driver AudioOutput demo.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h')
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h index fa0a869ebb..a1de406f3b 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h @@ -39,13 +39,14 @@ /* Includes: */
#include <avr/io.h>
+ #include <LUFA/Drivers/USB/Class/RNDIS.h>
#include <LUFA/Drivers/Peripheral/SerialStream.h>
#include "EthernetProtocols.h"
#include "Ethernet.h"
/* Function Prototypes: */
- void DecodeEthernetFrameHeader(void* InDataStart);
+ void DecodeEthernetFrameHeader(Ethernet_Frame_Info_t* FrameINData);
void DecodeARPHeader(void* InDataStart);
void DecodeIPHeader(void* InDataStart);
void DecodeICMPHeader(void* InDataStart);
|