Commit 3422844a authored by jdelange's avatar jdelange

* ping/ping.c

   - Also change the bus for the source port



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@4901 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent d13ae10b
#include <stdio.h>
/*#define MULTIPLE_BUSES
*/
int p=0;
void user_do_ping_spg (int *v)
......@@ -8,10 +11,12 @@ void user_do_ping_spg (int *v)
#include <deployment.h>
if ( ( p % 2 ) == 0)
{
__po_hi_transport_associate_port_bus (pinger_global_data_source, bus_first_bus);
__po_hi_transport_associate_port_bus (ping_me_global_data_sink, bus_first_bus);
}
else
{
__po_hi_transport_associate_port_bus (pinger_global_data_source, bus_second_bus);
__po_hi_transport_associate_port_bus (ping_me_global_data_sink, bus_second_bus);
}
#endif
......
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