1
0
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:
Con Kolivas 2013-10-07 20:07:34 +11:00
parent c7d5256b36
commit 50d1d367fb

View File

@ -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;