From 71b2d525d7fcda8a4c568260470b1b42036985fc Mon Sep 17 00:00:00 2001 From: hadaq Date: Sun, 25 Jul 2010 16:41:25 +0000 Subject: [PATCH] update --- libtrbnet/trbnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index 552ffe0..4173d3a 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -1,4 +1,4 @@ -const char trbnet_version[] = "$Revision: 2.71 $"; +const char trbnet_version[] = "$Revision: 2.72 $"; #include #include @@ -442,8 +442,8 @@ static int trb_init_transfer(uint8_t channel) read32_from_FPGA(CHANNEL_N_RECEIVER_FIFO_STATUS | ((channel * 2 + 1) << 4), &tmp); if ((tmp & MASK_FIFO_EMPTY) == 0) { - trb_errno = TRB_FIFO_NOT_EMPTY; fifo_flush(channel); + trb_errno = TRB_FIFO_NOT_EMPTY; return -1; } -- 2.43.0