From f3072afe81a948f2df5c689c33f12b37fcc6181b Mon Sep 17 00:00:00 2001 From: John Date: Sun, 18 Sep 2022 12:02:53 +0200 Subject: [PATCH] increase expected enhanced proto completion timeout --- src/lib/ebus/device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ebus/device.cpp b/src/lib/ebus/device.cpp index 0d97a9a7..a22bccf7 100755 --- a/src/lib/ebus/device.cpp +++ b/src/lib/ebus/device.cpp @@ -265,9 +265,9 @@ result_t Device::send(symbol_t value) { /** * the maximum duration in milliseconds to wait for an enhanced sequence to complete after the first part was already - * retrieved: 2* (Start+8Bit+Stop+Extra @ 9600Bd) + * retrieved (3ms rounded up to the next 10ms): 2* (Start+8Bit+Stop+Extra @ 9600Bd) */ -#define ENHANCED_COMPLETE_WAIT_DURATION 3 +#define ENHANCED_COMPLETE_WAIT_DURATION 10 bool Device::cancelRunningArbitration(ArbitrationState* arbitrationState) {