Commit badbc6ee authored by julien.delange's avatar julien.delange
Browse files

* src/drivers/po_hi_driver_sockets.c

   - Do not send any data if the port does not have fresh data
     to send.

git-svn-id: 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 1c97d81b
......@@ -172,6 +172,15 @@ int __po_hi_driver_sockets_send (__po_hi_task_id task_id,
associated_device = __po_hi_get_device_from_port (destination_port);
if (request->port == -1)
#ifdef __PO_HI_DEBUG
__DEBUGMSG (" [DRIVER SOCKETS] No data to write on port %d\n", port);
if (nodes[associated_device].socket == -1 )
#ifdef __PO_HI_DEBUG
Supports Markdown
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