Commit 5d9f863b26eecdde424b5d08f917e3cf93130277

kanoi 2014-07-12T14:47:11

minion - reset the led counter when doing a chip RSTN full reset

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-minion.c b/driver-minion.c
index 3da9ab1..d3cd55e 100644
--- a/driver-minion.c
+++ b/driver-minion.c
@@ -1715,6 +1715,8 @@ static void init_chip(struct cgpu_info *minioncgpu, struct minion_info *minionin
 
 	minioninfo->reset_time[chip] = (int)((float)(MINION_RESET_s * MINION_FREQ_DEF) /
 							minioninfo->init_freq[chip]);
+
+	minioninfo->chip_status[chip].first_nonce.tv_sec = 0L;
 }
 
 static void enable_chip_cores(struct cgpu_info *minioncgpu, struct minion_info *minioninfo, int chip)