mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Decrease usb buffering to verbose logging.
This commit is contained in:
parent
759e82bb98
commit
d6949f3a94
@ -2671,7 +2671,7 @@ int _usb_read(struct cgpu_info *cgpu, int epinfo, char *buf, size_t bufsiz, int
|
|||||||
memcpy(usbdev->buffer, usbbuf + bufsiz, usbdev->bufamt);
|
memcpy(usbdev->buffer, usbbuf + bufsiz, usbdev->bufamt);
|
||||||
tot -= usbdev->bufamt;
|
tot -= usbdev->bufamt;
|
||||||
usbbuf[tot] = '\0';
|
usbbuf[tot] = '\0';
|
||||||
applog(LOG_ERR, "USB: %s%i read1 buffering %d extra bytes",
|
applog(LOG_INFO, "USB: %s%i read1 buffering %d extra bytes",
|
||||||
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user