X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1aeb5056d6943331ee2d11807bcc0a6480ad1ca0..a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0:/Projects/Webserver/Webserver.h diff --git a/Projects/Webserver/Webserver.h b/Projects/Webserver/Webserver.h index 8d23bc1d5..13462a2a2 100644 --- a/Projects/Webserver/Webserver.h +++ b/Projects/Webserver/Webserver.h @@ -43,7 +43,6 @@ #include #include - #include #include #include #include @@ -53,15 +52,18 @@ #include #include "Lib/WebserverApp.h" + #include "Lib/DHCPApp.h" /* Macros: */ - /** IP address that the webserver should use once connected to a RNDIS device. */ + /** IP address that the webserver should use once connected to a RNDIS device (when DHCP is disabled). */ #define DEVICE_IP_ADDRESS (uint8_t[]){192, 168, 1, 10} - /** Netmask that the webserver should once connected to a RNDIS device. */ + /** Netmask that the webserver should once connected to a RNDIS device (when DHCP is disabled). */ #define DEVICE_NETMASK (uint8_t[]){255, 255, 255, 0} - /** IP address of the default gateway the webserver should use when routing outside the local subnet. */ + /** IP address of the default gateway the webserver should use when routing outside the local subnet + * (when DHCP is disabled). + */ #define DEVICE_GATEWAY (uint8_t[]){192, 168, 1, 1} /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */ @@ -78,6 +80,9 @@ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_USB_BUSY LEDS_LED2 + + /* External Variables: */ + extern struct uip_eth_addr MACAddress; /* Function Prototypes: */ void SetupHardware(void);