Fix realtime flag.
authorDavid Schleef <ds@schleef.org>
Tue, 12 Jun 2001 10:40:18 +0000 (10:40 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 12 Jun 2001 10:40:18 +0000 (10:40 +0000)
testing/cmd_3.c

index 1693c140085137504088edca4a72ca0b284cec79..f17b54277bb8da6abda1cdb44db4938224acd5e3 100644 (file)
@@ -53,7 +53,8 @@ static int do_continuous(int multiplier)
                return 0;
        }
 
-       cmd.flags = TRIG_RT;
+       if(realtime)cmd.flags |= TRIG_RT;
+
        cmd.chanlist = chanlist;
        cmd.scan_end_arg = 1;
        cmd.stop_src = TRIG_NONE;