]> sigrok.org Git - libsigrok.git/commitdiff
asix-sigma: Use the more portable g_usleep().
authorUwe Hermann <redacted>
Sat, 21 Feb 2015 19:57:27 +0000 (20:57 +0100)
committerUwe Hermann <redacted>
Thu, 26 Feb 2015 10:15:02 +0000 (11:15 +0100)
src/hardware/asix-sigma/asix-sigma.c

index c577ca74686ca58268829c7c457efa35c339b08e..0e6180cbe1b1e0c74c0fb50601b87ea695eb8793 100644 (file)
@@ -446,7 +446,7 @@ static int sigma_fpga_init_bitbang(struct dev_context *devc)
                if (data & (1 << 5))
                        return 0;
                /* The D6 was not asserted yet, wait a bit. */
-               usleep(10000);
+               g_usleep(10000);
        }
 
        return SR_ERR_TIMEOUT;