From: hadaq Date: Mon, 7 Sep 2009 22:23:33 +0000 (+0000) Subject: update X-Git-Tag: v6.0~348 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5102730b545ae956d117d5a6278aee7e4c74863b;p=trbnettools.git update --- diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index 67b94e5..357f5ed 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -1,4 +1,4 @@ -const char trbnet_version[] = "$Revision: 2.41 $"; +const char trbnet_version[] = "$Revision: 2.42 $"; #include #include @@ -221,8 +221,8 @@ static inline void read32_from_FPGA(uint16_t address, uint32_t* value) *value = ((readPB() << 16)); writePC(fifoToggleBit); - fifoToggleBit ^= FIFO_TOGGLE_BIT; *value |= (readPB() & 0xffff); + fifoToggleBit ^= FIFO_TOGGLE_BIT; writePC(fifoToggleBit); }