From 7c896bd5cd696b075232d0d56550824e33755f8e Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Mon, 22 Aug 2011 18:21:02 +0000 Subject: [PATCH] bugfix --- libtrbnet/trbnet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index 92b6cca..b7821fb 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -15,7 +15,7 @@ #endif -const char trbnet_version[] = "$Revision: 4.6 $"; +const char trbnet_version[] = "$Revision: 4.7 $"; #include #include @@ -1125,11 +1125,9 @@ static int trb_fifo_read(uint8_t channel, tmp++; #else timeout = 0; - fprintf(stderr, "call\n"); do { read32_from_FPGA(fifoBuffer, tmp); } while (((*tmp & MASK_FIFO_VALID) == 0) && (++timeout < MAX_TIMEOUT)); - fprintf(stderr, "last val: %x timeout %d\n", *tmp, timeout); if (timeout >= MAX_TIMEOUT) { fifo_flush(channel); -- 2.43.0