1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Convert libztex to nmsleep where possible.

This commit is contained in:
Con Kolivas 2012-11-18 22:23:03 +11:00
parent 90d1d7b6ca
commit dc7fc13e93

View File

@ -222,7 +222,7 @@ static int libztex_configureFpgaHS(struct libztex_device *ztex, const char* firm
libusb_release_interface(ztex->hndl, settings[1]);
usleep(200000);
nmsleep(200);
applog(LOG_INFO, "%s: HS FPGA configuration done", ztex->repr);
return 0;
@ -311,7 +311,7 @@ static int libztex_configureFpgaLS(struct libztex_device *ztex, const char* firm
applog(LOG_ERR, "%s: FPGA configuration failed: DONE pin does not go high", ztex->repr);
return 3;
}
usleep(200000);
nmsleep(200);
applog(LOG_INFO, "%s: FPGA configuration done", ztex->repr);
return 0;
}