mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Drop usb buffering message to debug logging level.
This commit is contained in:
parent
273b04be62
commit
44cc52c3d0
@ -2491,8 +2491,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
|
|||||||
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_INFO, "USB: %s%i read1 buffering %d extra bytes",
|
applog(LOG_DEBUG, "USB: %s%i read1 buffering %d extra bytes",
|
||||||
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
||||||
}
|
}
|
||||||
|
|
||||||
*processed = tot;
|
*processed = tot;
|
||||||
@ -2615,8 +2615,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
|
|||||||
tot -= usbdev->bufamt;
|
tot -= usbdev->bufamt;
|
||||||
memcpy(usbdev->buffer, usbbuf + tot, usbdev->bufamt);
|
memcpy(usbdev->buffer, usbbuf + tot, usbdev->bufamt);
|
||||||
usbbuf[tot] = '\0';
|
usbbuf[tot] = '\0';
|
||||||
applog(LOG_ERR, "USB: %s%i read2 buffering %d extra bytes",
|
applog(LOG_DEBUG, "USB: %s%i read2 buffering %d extra bytes",
|
||||||
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
cgpu->drv->name, cgpu->device_id, usbdev->bufamt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user