diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-07 06:55:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-07 06:55:31 +0000 |
commit | d423090b26ade8912e669d6c6d3c5463e0669429 (patch) | |
tree | f443783209b96313146c539de92c408788d2778d /Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h | |
parent | 85c2716f2d37bb50d126102fcdd09fb78d26ebc5 (diff) | |
download | lufa-d423090b26ade8912e669d6c6d3c5463e0669429.tar.gz lufa-d423090b26ade8912e669d6c6d3c5463e0669429.tar.bz2 lufa-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/LowLevel/RNDISEthernet/Lib/Ethernet.h')
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h index b91a56ba2..5b140a1ba 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h @@ -50,6 +50,9 @@ #include "IP.h"
/* Macros: */
+ /** Physical MAC address of the USB RNDIS network adapter */
+ #define ADAPTER_MAC_ADDRESS {0x02, 0x00, 0x02, 0x00, 0x02, 0x00}
+
/** Physical MAC address of the virtual server on the network */
#define SERVER_MAC_ADDRESS {0x00, 0x01, 0x00, 0x01, 0x00, 0x01}
|