]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
bug fixed flush channel
authorhadaq <hadaq>
Fri, 30 Oct 2009 20:34:33 +0000 (20:34 +0000)
committerhadaq <hadaq>
Fri, 30 Oct 2009 20:34:33 +0000 (20:34 +0000)
libtrbnet/trbcmd.c

index fd64caa5b7c2741e3c687007753e74bdf9c84dae..555c7603ebfd85203ccd54c98739fbef54015b03 100644 (file)
@@ -16,7 +16,7 @@
 
 static int hexMode = HEXMODE;
 
-static const char trbcmd_version[] = "$Revision: 2.36 $";
+static const char trbcmd_version[] = "$Revision: 2.37 $";
 
 /* ---- User Buffer Size ----------------------------------------------- */
 
@@ -942,16 +942,6 @@ int main(int argc, char ** argv)
           }
           trb_error("trb_fifo_flush failed");
           exit(EXIT_FAILURE);
-        } else {
-          /* Check Status-Bits */
-          if ((trb_term.status_common != 0x01) || 
-              (trb_term.status_channel != 0)) {
-            if (scriptFile != NULL) {
-              fprintf(stderr, "Line #%d: ", lineCtr);
-            }
-            fprintf(stderr, "WARNING Status-Bits:\n%s\n",
-                    trb_strterm(trb_term));
-          }
         }
         
       } else if (strncmp(cmd[0], "R", CMD_SIZE) == 0) {