mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +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:
|
||||
item = CMD_CMD;
|
||||
break;
|
||||
case LIBUSB_TRANSFER_TIMED_OUT:
|
||||
case LIBUSB_ERROR_TIMEOUT:
|
||||
item = CMD_TIMEOUT;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user