Browse Source

Merge branch 'bifury' into bfgminer-3.10.x

Luke Dashjr 12 years ago
parent
commit
b62deead88
1 changed files with 3 additions and 0 deletions
  1. 3 0
      driver-bifury.c

+ 3 - 0
driver-bifury.c

@@ -393,6 +393,9 @@ void bifury_handle_cmd(struct cgpu_info * const dev, const char * const cmd)
 			const float celsius = 0.1 * (float)decicelsius;
 			for (proc = dev; proc; proc = proc->next_proc)
 				proc->temp = celsius;
+			if (decicelsius >= 800)
+				// Thermal overheat causes restart losing the clock, so resend it while temperature is over 80 C
+				state->send_clock = true;
 		}
 	}
 	else