Commit 6282dfb4053f4e202421ebcb700b12f52e3a2cde

Con Kolivas 2012-05-06T16:15:20

Display the device summary on exit even if a device has been disabled.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/cgminer.c b/cgminer.c
index 8340ac9..3d511ef 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4382,10 +4382,8 @@ static void print_summary(void)
 	}
 
 	applog(LOG_WARNING, "Summary of per device statistics:\n");
-	for (i = 0; i < total_devices; ++i) {
-		if (devices[i]->deven == DEV_ENABLED)
-			log_print_status(devices[i]);
-	}
+	for (i = 0; i < total_devices; ++i)
+		log_print_status(devices[i]);
 
 	if (opt_shares)
 		applog(LOG_WARNING, "Mined %d accepted shares of %d requested\n", total_accepted, opt_shares);