Browse Source

Merge branch 'bm1382clock' into bfgminer

Luke Dashjr 10 years ago
parent
commit
3f303439dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-antminer.c

+ 1 - 1
driver-antminer.c

@@ -50,7 +50,7 @@ static const char *bm1382_chips[] = {
 
 
 static bool antminer_chip_has_bm1382_freq_register(const char * const prodstr)
 static bool antminer_chip_has_bm1382_freq_register(const char * const prodstr)
 {
 {
-	for (const char **chipname = bm1382_chips; chipname; ++chipname) {
+	for (const char **chipname = bm1382_chips; *chipname; ++chipname) {
 		if (strstr(prodstr, *chipname)) {
 		if (strstr(prodstr, *chipname)) {
 			return true;
 			return true;
 		}
 		}