From 0092320c0facc5d400f3915fb8e55fcde1c67c5f Mon Sep 17 00:00:00 2001 From: John-Michael Baier Date: Sun, 1 Nov 2020 16:09:58 +0100 Subject: [PATCH] measure arbitration delay in enhanced proto as well --- src/ebusd/bushandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ebusd/bushandler.cpp b/src/ebusd/bushandler.cpp index e34201bb..8e130b3a 100644 --- a/src/ebusd/bushandler.cpp +++ b/src/ebusd/bushandler.cpp @@ -574,6 +574,8 @@ result_t BusHandler::handleSymbol() { timeout = SYN_TIMEOUT; setState(bs_skip, result); } + } else { + clockGettime(&sentTime); // for measuring arbitration delay in enhanced protocol } // receive next symbol (optionally check reception of sent symbol)