Verified ENC and W5100 ethernet modules.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define UTIL_H
|
||||
|
||||
#define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
|
||||
#undef ntohs
|
||||
#define ntohs(x) htons(x)
|
||||
|
||||
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
|
||||
|
||||
Reference in New Issue
Block a user