From 9257facb17bf74eb0eb1babfc59ff3549eb66242 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 24 Nov 2020 16:42:10 +0100 Subject: Fixed timer counting with yield() --- libnet/inc/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnet') 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) -- cgit v1.2.3