Commit f3d5d52c2b3fc1a985ff5bed4b6b38cd2d385ee2

Zefir Kurtisi 2014-02-22T17:03:07

A1: use real level in hexdump

diff --git a/driver-SPI-bitmine-A1.c b/driver-SPI-bitmine-A1.c
index 8ba4a6e..93a3d40 100644
--- a/driver-SPI-bitmine-A1.c
+++ b/driver-SPI-bitmine-A1.c
@@ -188,7 +188,7 @@ static void applog_hexdump(char *prefix, uint8_t *buff, int len, int level)
 		}
 		pos += sprintf(pos, "%.2X ", buff[i]);
 	}
-	applog(LOG_DEBUG, "%s", line);
+	applog(level, "%s", line);
 }
 
 static void hexdump(char *prefix, uint8_t *buff, int len)
@@ -1006,7 +1006,7 @@ static int64_t A1_scanwork(struct thr_info *thr)
 	}
 	/* in case of no progress, prevent busy looping */
 	if (!work_updated)
-		cgsleep_ms(160);
+		cgsleep_ms(40);
 
 	return (int64_t)nonce_ranges_processed << 32;
 }