Fixed the queue of TX messages. Had to be moved to the worker thread.
This commit is contained in:
@@ -173,7 +173,10 @@ bool CANConnection::sendFrame(const CANFrame& pFrame)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
CANFrame *txFrame;
|
||||
txFrame = getQueue().get();
|
||||
*txFrame = pFrame;
|
||||
getQueue().queue();
|
||||
|
||||
return piSendFrame(pFrame);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user