apply transfer latency also to auto SYN

This commit is contained in:
john30
2020-03-29 18:28:23 +02:00
parent 5a6920afd5
commit 78d8aa4d94
+1 -2
View File
@@ -576,8 +576,7 @@ result_t BusHandler::handleSymbol() {
// receive next symbol (optionally check reception of sent symbol)
symbol_t recvSymbol;
ArbitrationState arbitrationState = as_none;
bool isAutoSyn = !sending && m_generateSynInterval == SYN_TIMEOUT && (m_state == bs_noSignal || m_state == bs_skip);
result = m_device->recv(timeout+(isAutoSyn ? 0 : m_transferLatency), &recvSymbol, &arbitrationState);
result = m_device->recv(timeout+m_transferLatency, &recvSymbol, &arbitrationState);
if (sending) {
clockGettime(&recvTime);
}