From: hadaq Date: Fri, 30 Oct 2009 20:34:33 +0000 (+0000) Subject: bug fixed flush channel X-Git-Tag: v6.0~313 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=127aac748910ad4e845fd449cd72911eed396b4c;p=trbnettools.git bug fixed flush channel --- diff --git a/libtrbnet/trbcmd.c b/libtrbnet/trbcmd.c index fd64caa..555c760 100644 --- a/libtrbnet/trbcmd.c +++ b/libtrbnet/trbcmd.c @@ -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) {