fix crash when stopping in debugger for too long

This commit is contained in:
diekleinekuh
2023-02-21 14:55:07 +01:00
parent c7339bb680
commit 69c735b689
+4 -1
View File
@@ -175,7 +175,10 @@ bool CANConnection::sendFrame(const CANFrame& pFrame)
CANFrame *txFrame;
txFrame = getQueue().get();
*txFrame = pFrame;
if (txFrame)
{
*txFrame = pFrame;
}
getQueue().queue();
return piSendFrame(pFrame);