mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-29 16:04:33 +00:00
Remove start device limitation on log window size to allow it to get larger with hotplugged devices.
This commit is contained in:
parent
fc95c19165
commit
03305afbae
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user