Misc fixes

- changed HEADER_SIZE constant from 8 to 7 to reflect message structure
- removed duplicate utility folder in UIPEthernet that prevented proper
compilation
- removed unnecessary includes in EthernetGateway that prevented proper
compilation
This commit is contained in:
ToSa27
2014-07-24 13:29:35 +02:00
parent 0cd56e88b2
commit 10e2d31a2f
26 changed files with 1 additions and 6888 deletions
-13
View File
@@ -1,13 +0,0 @@
#ifndef UTIL_H
#define UTIL_H
#define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
#define ntohs(x) htons(x)
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
((x)<< 8 & 0x00FF0000UL) | \
((x)>> 8 & 0x0000FF00UL) | \
((x)>>24 & 0x000000FFUL) )
#define ntohl(x) htonl(x)
#endif