From d423090b26ade8912e669d6c6d3c5463e0669429 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 7 Aug 2009 06:55:31 +0000 Subject: 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. --- Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c') diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c index aac72ae51b..53bd8bfed3 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c @@ -275,6 +275,5 @@ void DecodeDHCPHeader(void* InDataStart) DHCPOptions += ((DHCPOptions[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptions[1] + 2)); } - #endif } -- cgit v1.2.3