]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds1xx2: fix delay time.
authorMartin Ling <redacted>
Sun, 21 Apr 2013 19:42:22 +0000 (20:42 +0100)
committerMartin Ling <redacted>
Sun, 21 Apr 2013 19:42:22 +0000 (20:42 +0100)
hardware/rigol-ds1xx2/api.c

index db8d88099cf296259c938a7ffc269a1530b5ce69..53c4fb313ae2fc36b78542080224e0576e38c7bf 100644 (file)
@@ -186,7 +186,7 @@ static int set_cfg(const struct sr_dev_inst *sdi, const char *format, ...)
        /* When setting a bunch of parameters in a row, the DS1052E scrambles
         * some of them unless there is at least 100ms delay in between. */
        sr_spew("delay %dms", 100);
-       g_usleep(100);
+       g_usleep(100000);
 
        return SR_OK;
 }