From: Uwe Hermann Date: Sat, 21 Feb 2015 19:57:27 +0000 (+0100) Subject: asix-sigma: Use the more portable g_usleep(). X-Git-Tag: libsigrok-0.4.0~620 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d9c3331d12d3060d33b1d2ee592c26c1d927dce8;p=libsigrok.git asix-sigma: Use the more portable g_usleep(). --- diff --git a/src/hardware/asix-sigma/asix-sigma.c b/src/hardware/asix-sigma/asix-sigma.c index c577ca74..0e6180cb 100644 --- a/src/hardware/asix-sigma/asix-sigma.c +++ b/src/hardware/asix-sigma/asix-sigma.c @@ -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;