apply transfer latency also to auto SYN
This commit is contained in:
@@ -576,8 +576,7 @@ result_t BusHandler::handleSymbol() {
|
|||||||
// receive next symbol (optionally check reception of sent symbol)
|
// receive next symbol (optionally check reception of sent symbol)
|
||||||
symbol_t recvSymbol;
|
symbol_t recvSymbol;
|
||||||
ArbitrationState arbitrationState = as_none;
|
ArbitrationState arbitrationState = as_none;
|
||||||
bool isAutoSyn = !sending && m_generateSynInterval == SYN_TIMEOUT && (m_state == bs_noSignal || m_state == bs_skip);
|
result = m_device->recv(timeout+m_transferLatency, &recvSymbol, &arbitrationState);
|
||||||
result = m_device->recv(timeout+(isAutoSyn ? 0 : m_transferLatency), &recvSymbol, &arbitrationState);
|
|
||||||
if (sending) {
|
if (sending) {
|
||||||
clockGettime(&recvTime);
|
clockGettime(&recvTime);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user