From: hadaq Date: Sun, 25 Jul 2010 16:41:25 +0000 (+0000) Subject: update X-Git-Tag: v6.0~225 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=71b2d525d7fcda8a4c568260470b1b42036985fc;p=trbnettools.git update --- 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; }