Commit 03305afbae8dcd3fe34d405faba3ddab996655b8

Con Kolivas 2013-06-03T16:49:15

Remove start device limitation on log window size to allow it to get larger with hotplugged devices.

diff --git a/cgminer.c b/cgminer.c
index a8b4459..f1ce103 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -180,7 +180,6 @@ static int total_control_threads;
 bool hotplug_mode;
 static int new_devices;
 static int new_threads;
-static int start_devices;
 int hotplug_time = 5;
 
 #ifdef USE_USBUTILS
@@ -2077,7 +2076,7 @@ static void curses_print_devstatus(struct cgpu_info *cgpu, int count)
 	if (opt_compact)
 		return;
 
-	if (count >= start_devices || devcursor + count > LINES - 2)
+	if (devcursor + count > LINES - 2)
 		return;
 
 	cgpu->utility = cgpu->accepted / total_secs * 60;
@@ -7528,8 +7527,6 @@ int main(int argc, char *argv[])
 		quit(1, "All devices disabled, cannot mine!");
 #endif
 
-	start_devices = total_devices;
-
 	load_temp_cutoffs();
 
 	for (i = 0; i < total_devices; ++i)