Commit d5b3f5592ba658679fd1552406ea9cfcc32c1d46

Kano 2013-09-24T13:23:12

klondike - correct 1st reply debug based on define

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-klondike.c b/driver-klondike.c
index 44a62b2..b9189c6 100644
--- a/driver-klondike.c
+++ b/driver-klondike.c
@@ -365,7 +365,7 @@ static void *klondike_get_replies(void *userdata)
 
 		err = usb_read(klncgpu, replybuf+1, REPLY_SIZE, &recd, C_GETRESULTS);
 		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);
 				applog(READ_DEBUG, "%s (%s) reply [%s:%s]", klncgpu->drv->dname, klncgpu->device_path, replybuf+1, hexdata);
 				free(hexdata);