Browse Source

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

Con Kolivas 13 years ago
parent
commit
6282dfb405
1 changed files with 2 additions and 4 deletions
  1. 2 4
      cgminer.c

+ 2 - 4
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);