From f9943e2fe0ea7b9fb9ed8a1efd01eed45791b570 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 10 Jan 2021 13:42:36 +0100 Subject: [PATCH] increase default network latency to 30ms, also use host latency of 20ms if WIN32 is defined --- src/lib/ebus/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ebus/device.h b/src/lib/ebus/device.h index 270643ce..05d23037 100755 --- a/src/lib/ebus/device.h +++ b/src/lib/ebus/device.h @@ -41,10 +41,10 @@ namespace ebusd { */ /** the transfer latency of the network device [ms]. */ -#define NETWORK_LATENCY_MS 10 +#define NETWORK_LATENCY_MS 30 /** the latency of the host [ms]. */ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32) #define HOST_LATENCY_MS 20 #else #define HOST_LATENCY_MS 0