Browse Source

Check for either async or sync libusb error message for timeout.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
50d1d367fb
  1. 1
      usbutils.c

1
usbutils.c

@ -2125,6 +2125,7 @@ static void stats(struct cgpu_info *cgpu, struct timeval *tv_start, struct timev @@ -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…
Cancel
Save