diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 15:03:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 15:03:17 +0000 |
commit | 13085a335125808f3b2f9adc495c6fe26053cebe (patch) | |
tree | 0d11d457795b870116e3ace34a38b40a17b63baf /Demos/Device/LowLevel/RNDISEthernet/Lib | |
parent | 64d00efd915b8c3842c4fe93605bf8bc73def030 (diff) | |
download | lufa-13085a335125808f3b2f9adc495c6fe26053cebe.tar.gz lufa-13085a335125808f3b2f9adc495c6fe26053cebe.tar.bz2 lufa-13085a335125808f3b2f9adc495c6fe26053cebe.zip |
AppConfigHeaders: Switch low level Device mode demos to use LUFAConfig.h configuration header files.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib')
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h | 8 | ||||
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h index 4cd6a20aa..b878693bd 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h @@ -43,14 +43,10 @@ #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/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h index 2807b6056..b3ad1affd 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h @@ -45,6 +45,8 @@ #include "EthernetProtocols.h" #include "Ethernet.h" + + #include "Config/NetworkConfig.h" /* Function Prototypes: */ void DecodeEthernetFrameHeader(void* InDataStart); |