X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/db420853ce1a7c4545c443b9b7e9925fac3fbbb5..4bd44139b1d120e73c6b8863578b0ef6996f7368:/Projects/Webserver/Webserver.h diff --git a/Projects/Webserver/Webserver.h b/Projects/Webserver/Webserver.h index f3aa8d7b8..8d23bc1d5 100644 --- a/Projects/Webserver/Webserver.h +++ b/Projects/Webserver/Webserver.h @@ -56,13 +56,13 @@ /* Macros: */ /** IP address that the webserver should use once connected to a RNDIS device. */ - #define DEVICE_IP_ADDRESS 192, 168, 1, 10 + #define DEVICE_IP_ADDRESS (uint8_t[]){192, 168, 1, 10} /** Netmask that the webserver should once connected to a RNDIS device. */ - #define DEVICE_NETMASK 255, 255, 255, 0 + #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. */ - #define DEVICE_GATEWAY 192, 168, 1, 1 + #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. */ #define LEDMASK_USB_NOTREADY LEDS_LED1