Commit 24d26d99490e626b1cf3416c7b9d493c34d4473d

Con Kolivas 2013-06-10T02:54:18

Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps.

diff --git a/driver-bflsc.c b/driver-bflsc.c
index b5a2450..2b13ede 100644
--- a/driver-bflsc.c
+++ b/driver-bflsc.c
@@ -658,7 +658,7 @@ static void __bflsc_initialise(struct cgpu_info *bflsc)
 		bflsc->drv->name, bflsc->device_id, err);
 
 	if (!bflsc->cutofftemp)
-		bflsc->cutofftemp = 90;
+		bflsc->cutofftemp = 80;
 }
 
 static void bflsc_initialise(struct cgpu_info *bflsc)
@@ -1267,7 +1267,7 @@ static bool bflsc_get_temp(struct cgpu_info *bflsc, int dev)
 
 		bflsc->temp = temp;
 
-		if (bflsc->cutofftemp > 0 && temp > bflsc->cutofftemp) {
+		if (bflsc->cutofftemp > 0 && temp >= bflsc->cutofftemp) {
 			applog(LOG_WARNING, "%s%i:%s temp (%.1f) hit thermal cutoff limit %d, stopping work!",
 						bflsc->drv->name, bflsc->device_id, xlink,
 						temp, bflsc->cutofftemp);