Commit 5e203c40 authored by jdelange's avatar jdelange
Browse files

does not free a packet that was not successfully sent

git-svn-id: 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 19a9a0a3
......@@ -266,6 +266,7 @@ int __po_hi_c_driver_spw_usb_brick_sender (const __po_hi_task_id task_id, const
if ((status = USBSpaceWire_SendPacket(__po_hi_c_driver_usb_brick_star_device[dev_id], buf, __PO_HI_MESSAGES_MAX_SIZE + 1, 1, &id)) != TRANSFER_SUCCESS)
__PO_HI_DEBUG_DEBUG("[USB-SPW] Write error: %d.\n", status);
return 0;
__PO_HI_DEBUG_DEBUG ("Sent: |0x");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment