projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat.
[bertos.git]
/
boards
/
sam3x-ek
/
examples
/
sam3x-ek_http_server
/
main.c
diff --git
a/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c
b/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c
index 4e6b492f6dc8a14a921164f55db69ad93e705163..30054db8778db960f46190e8b1a707b15f2d81bc 100644
(file)
--- a/
boards/sam3x-ek/examples/sam3x-ek_http_server/main.c
+++ b/
boards/sam3x-ek/examples/sam3x-ek_http_server/main.c
@@
-92,13
+92,6
@@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
-/* Macro to unpack the ip addres from lwip format in 4 int*/
-#define IP_ADDR_TO_INT_TUPLE(addr) \
- (int)((addr) >> 0 & 0xff), \
- (int)((addr) >> 8 & 0xff), \
- (int)((addr) >> 16 & 0xff), \
- (int)((addr) >> 24 & 0xff)
-
/* Network interface global variables */
static struct ip_addr ipaddr, netmask, gw;
static struct netif netif;
/* Network interface global variables */
static struct ip_addr ipaddr, netmask, gw;
static struct netif netif;