Browse Source

Merge commit '2494fdc' into bfgminer

Luke Dashjr 12 years ago
parent
commit
1b12a25065
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-icarus.c

+ 2 - 2
driver-icarus.c

@@ -725,8 +725,8 @@ static bool icarus_init(struct thr_info *thr)
 				info->work_division = 4;
 				info->work_division = 4;
 				break;
 				break;
 			default:
 			default:
-				applog(LOG_ERR, "%"PRIpreprv": Work division autodetection failed: got %08x", icarus->proc_repr, res);
-				return false;
+				applog(LOG_ERR, "%"PRIpreprv": Work division autodetection failed (assuming 2): got %08x", icarus->proc_repr, res);
+				info->work_division = 2;
 		}
 		}
 		applog(LOG_DEBUG, "%"PRIpreprv": Work division autodetection got %08x (=%d)", icarus->proc_repr, res, info->work_division);
 		applog(LOG_DEBUG, "%"PRIpreprv": Work division autodetection got %08x (=%d)", icarus->proc_repr, res, info->work_division);
 	}
 	}