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.
This commit is contained in:
parent
85c2716f2d
commit
d423090b26
16 changed files with 75 additions and 70 deletions
|
@ -42,6 +42,7 @@
|
|||
#include "EthernetProtocols.h"
|
||||
#include "Ethernet.h"
|
||||
#include "ProtocolDecoders.h"
|
||||
#include "DHCP.h"
|
||||
|
||||
/* Macros: */
|
||||
/** Source UDP port for a DHCP request */
|
||||
|
@ -49,7 +50,10 @@
|
|||
|
||||
/** Destination UDP port for a DHCP reply */
|
||||
#define UDP_PORT_DHCP_REPLY 68
|
||||
|
||||
|
||||
/** Source UDP port for a DNS request/response */
|
||||
#define UDP_PORT_DNS 53
|
||||
|
||||
/* Type Defines: */
|
||||
/** Type define for a UDP packet header */
|
||||
typedef struct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue