Merge pull request #590 from diekleinekuh/fix-crash-happening-after-stopping-in-debugger

fix crash when stopping in debugger for too long
This commit is contained in:
Collin Kidder
2023-02-21 18:27:40 -05:00
committed by GitHub
+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);