Browse Source

Don't check if CPUs are sick since they can't be.

Con Kolivas 13 years ago
parent
commit
7ebda09f7e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      miner.c

+ 4 - 0
miner.c

@@ -4845,6 +4845,10 @@ static void *watchdog_thread(void __maybe_unused *userdata)
 			if (thr->getwork || *denable == DEV_DISABLED)
 			if (thr->getwork || *denable == DEV_DISABLED)
 				continue;
 				continue;
 
 
+#ifdef WANT_CPUMINE
+			if (!strcmp(cgpu->api->dname, "cpu"))
+				continue;
+#endif
 			if (cgpu->rolling < WATCHDOG_LOW_HASH)
 			if (cgpu->rolling < WATCHDOG_LOW_HASH)
 				cgpu->low_count++;
 				cgpu->low_count++;
 			else
 			else