aboutsummaryrefslogtreecommitdiff
path: root/libnet/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-11-24 16:42:10 +0100
committerMarvin Borner2020-11-24 16:42:10 +0100
commit9257facb17bf74eb0eb1babfc59ff3549eb66242 (patch)
tree78af10bf8de91b4b8ecca878d5a358c79ae907b4 /libnet/inc
parent0564c8006da7077064222d15a899b858ae2d7e61 (diff)
Fixed timer counting with yield()
Diffstat (limited to 'libnet/inc')
-rw-r--r--libnet/inc/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/inc/net.h b/libnet/inc/net.h
index 6884690..a897f1d 100644
--- a/libnet/inc/net.h
+++ b/libnet/inc/net.h
@@ -19,7 +19,7 @@
#define ip(a, b, c, d) \
((((a)&0xff) << 24) | (((b)&0xff) << 16) | (((c)&0xff) << 8) | (((d)&0xff) << 0))
-#define NET_TIMEOUT 500
+#define NET_TIMEOUT 2000
#define NET_NO_TIMEOUT 0
static inline int net_data_available(struct socket *socket)