diff options
Diffstat (limited to 'Projects/Webserver/Webserver.h')
-rw-r--r-- | Projects/Webserver/Webserver.h | 6 |
1 files changed, 3 insertions, 3 deletions
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
|