]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
updated register_write
authorhadaq <hadaq>
Fri, 18 Sep 2009 17:21:25 +0000 (17:21 +0000)
committerhadaq <hadaq>
Fri, 18 Sep 2009 17:21:25 +0000 (17:21 +0000)
libtrbnet/trbnet.c

index 7775e142e7af269fd79238f09725e7647f83c861..29b2d0ccba2e3f1e885edacdf065491000e6affa 100644 (file)
@@ -1,4 +1,4 @@
-const char trbnet_version[] = "$Revision: 2.44 $";
+const char trbnet_version[] = "$Revision: 2.45 $";
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -691,12 +691,6 @@ static int trb_fifo_read(uint8_t channel,
 
       case FIFO_MODE_REG_WRITE:
         if (headerType == HEADER_TRM) break;
-
-        if (packageCtr > 1) {
-          fifo_flush(channel);
-          trb_errno = TRB_INVALID_PKG_NUMBER;
-          return -1;
-        }
         break;
 
       case FIFO_MODE_IPU_DATA: