add extra latency needed for enhanced mode

This commit is contained in:
John
2021-11-01 13:36:30 +01:00
parent 3edc0145b1
commit 9a4b132e35
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -43,6 +43,9 @@ namespace ebusd {
/** the transfer latency of the network device [ms]. */
#define NETWORK_LATENCY_MS 30
/** the extra transfer latency to take into account for enhanced protocol. */
#define ENHANCED_LATENCY_MS 10
/** the latency of the host [ms]. */
#if defined(__CYGWIN__) || defined(_WIN32)
#define HOST_LATENCY_MS 20