mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Check for either async or sync libusb error message for timeout.
This commit is contained in:
parent
c7d5256b36
commit
50d1d367fb
@ -2125,6 +2125,7 @@ static void stats(struct cgpu_info *cgpu, struct timeval *tv_start, struct timev
|
|||||||
case LIBUSB_SUCCESS:
|
case LIBUSB_SUCCESS:
|
||||||
item = CMD_CMD;
|
item = CMD_CMD;
|
||||||
break;
|
break;
|
||||||
|
case LIBUSB_TRANSFER_TIMED_OUT:
|
||||||
case LIBUSB_ERROR_TIMEOUT:
|
case LIBUSB_ERROR_TIMEOUT:
|
||||||
item = CMD_TIMEOUT;
|
item = CMD_TIMEOUT;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user