]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
Added usleep(1) in trb_send_trigger_rich
authorhadaq <hadaq>
Wed, 23 Dec 2009 20:54:32 +0000 (20:54 +0000)
committerhadaq <hadaq>
Wed, 23 Dec 2009 20:54:32 +0000 (20:54 +0000)
.

libtrbnet/trbnet.c

index 345a912852a2f4fd5d39fe2e6389b5e95f578361..3bb63da2dc7d74c2df5b970197e9ba56a8fea369 100644 (file)
@@ -1,4 +1,4 @@
-const char trbnet_version[] = "$Revision: 2.54 $";
+const char trbnet_version[] = "$Revision: 2.55 $";
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -1557,6 +1557,7 @@ int trb_send_trigger_rich(uint8_t trg_input,
 
   /* Send both fake trigger and LVL1 information */
   write32_to_FPGA(CHANNEL_3_SENDER_CONTROL, CMD_REGISTER_WRITE);
+  usleep(1);
   write32_to_FPGA(CHANNEL_0_SENDER_CONTROL,
                   SHORT_TRANSFER | (uint32_t)(type & 0x0f));