fix logging sent byte when arbitration was lost

This commit is contained in:
John-Michael Baier
2020-11-01 11:08:31 +01:00
parent 91745fe847
commit dc8de61042
+1 -1
View File
@@ -473,7 +473,7 @@ bool Device::read(symbol_t* value, bool isAvailable, ArbitrationState* arbitrati
case ENH_RES_FAILED:
*arbitrationState = as_lost;
if (m_listener != NULL) {
m_listener->notifyDeviceData(data, false);
m_listener->notifyDeviceData(m_arbitrationMaster, false);
}
m_arbitrationMaster = SYN;
m_arbitrationCheck = false;