Browse Source

Merge commit '00ec83f' into bfgminer

Luke Dashjr 12 years ago
parent
commit
b0d4bfbcae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -9117,7 +9117,7 @@ static void *watchdog_thread(void __maybe_unused *userdata)
 					applog(LOG_ERR, "Will not attempt to auto-restart it.");
 				} else
 #endif
-				if (opt_restart) {
+				if (opt_restart && cgpu->drv->reinit_device) {
 					applog(LOG_ERR, "%s: Attempting to restart", dev_str);
 					reinit_device(cgpu);
 				}