From c476ef71965bdf32e7d6dab4cf3ec2816ab3fddb Mon Sep 17 00:00:00 2001 From: hadaq Date: Wed, 23 Dec 2009 20:54:32 +0000 Subject: [PATCH] Added usleep(1) in trb_send_trigger_rich . --- libtrbnet/trbnet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index 345a912..3bb63da 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -1,4 +1,4 @@ -const char trbnet_version[] = "$Revision: 2.54 $"; +const char trbnet_version[] = "$Revision: 2.55 $"; #include #include @@ -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)); -- 2.51.0