issue flow control messages on the scanned bus

This commit is contained in:
diekleinekuh
2023-02-17 17:52:25 +01:00
parent 579957aaa6
commit 6564f4f5d4
+1 -1
View File
@@ -249,7 +249,7 @@ void ISOTP_HANDLER::processFrame(const CANFrame &frame)
messageBuffer.insert(msg.frameId(), msg);
//The sending ID is set to the last ID we used to send from this class which is
//very likely to be correct. But, caution, there is a chance that it isn't. Beware.
if (issueFlowMsgs && lastSenderID > 0)
if (issueFlowMsgs && lastSenderID > 0 && lastSenderBus==frame.bus)
{
CANFrame outFrame;
outFrame.bus = lastSenderBus;