mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-31 00:44:19 +00:00
klondike - correct 1st reply debug based on define
This commit is contained in:
parent
0d9f3389a1
commit
d5b3f5592b
@ -365,7 +365,7 @@ static void *klondike_get_replies(void *userdata)
|
|||||||
|
|
||||||
err = usb_read(klncgpu, replybuf+1, REPLY_SIZE, &recd, C_GETRESULTS);
|
err = usb_read(klncgpu, replybuf+1, REPLY_SIZE, &recd, C_GETRESULTS);
|
||||||
if (!err && recd == REPLY_SIZE) {
|
if (!err && recd == REPLY_SIZE) {
|
||||||
if (opt_log_level <= LOG_DEBUG) {
|
if (opt_log_level <= READ_DEBUG) {
|
||||||
char *hexdata = bin2hex((unsigned char *)(replybuf+1), recd);
|
char *hexdata = bin2hex((unsigned char *)(replybuf+1), recd);
|
||||||
applog(READ_DEBUG, "%s (%s) reply [%s:%s]", klncgpu->drv->dname, klncgpu->device_path, replybuf+1, hexdata);
|
applog(READ_DEBUG, "%s (%s) reply [%s:%s]", klncgpu->drv->dname, klncgpu->device_path, replybuf+1, hexdata);
|
||||||
free(hexdata);
|
free(hexdata);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user