diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 17:17:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 17:17:45 +0000 |
commit | 9a373c409435796165b2f315b7e3d6fa303d5e4a (patch) | |
tree | 245134c12e29754981f34e0a1f9243551e785963 /Demos/Device/ClassDriver/RNDISEthernet/Lib | |
parent | 7f4462267aeb1f40ad6a9d582168d1b07e53d7f2 (diff) | |
download | lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.tar.gz lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.tar.bz2 lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.zip |
AppConfigHeaders: Switch class driver Device mode demos to use LUFAConfig.h configuration header files.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet/Lib')
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h | 7 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h | 1 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h index 2ed173f57..2d89ad52f 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h @@ -43,14 +43,9 @@ #include "EthernetProtocols.h" #include "Ethernet.h" #include "ProtocolDecoders.h" + #include "Config/NetworkConfig.h" /* Macros: */ - /** Protocol IP address of the host (client) machine, once assigned by DHCP. */ - #define CLIENT_IP_ADDRESS { 10, 0, 0, 1} - - /** Protocol IP address of the virtual server machine. */ - #define SERVER_IP_ADDRESS { 10, 0, 0, 2} - /** Protocol IP address of the broadcast address. */ #define BROADCAST_IP_ADDRESS {0xFF, 0xFF, 0xFF, 0xFF} diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h index 2807b6056..aadbed822 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h @@ -45,6 +45,7 @@ #include "EthernetProtocols.h" #include "Ethernet.h" + #include "Config/NetworkConfig.h" /* Function Prototypes: */ void DecodeEthernetFrameHeader(void* InDataStart); |