Merge pull request #584 from diekleinekuh/master

issue flow control messages on the scanned bus
This commit is contained in:
Collin Kidder
2023-02-19 20:09:21 -05:00
committed by GitHub
+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;