From 6ba9c233693eb61c48cc261719ad9c4f7dd7dd65 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sun, 26 Aug 2012 04:31:13 +0000 Subject: [PATCH] modminer: Reset clocks to maximum when attempting to reduce below 178 MHz --- driver-modminer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/driver-modminer.c b/driver-modminer.c index d39cad01d4..e39d9138d4 100644 --- a/driver-modminer.c +++ b/driver-modminer.c @@ -347,8 +347,9 @@ modminer_reduce_clock(struct thr_info*thr, bool needlock) { struct modminer_fpga_state *state = thr->cgpu_data; - if (state->clock <= 100) - return false; + if (state->clock <= 178) + state->clock = state->max_clock; + else state->clock -= 2;