@@ -600,6 +600,9 @@ void *miner_thread(void *userdata)
goto out;
}
+ if (cgpu->deven != DEV_ENABLED)
+ mt_disable_start(mythr);
+
thread_reportout(mythr);
applog(LOG_DEBUG, "Popping ping in miner thread");
notifier_read(mythr->notifier); // Wait for a notification to start
@@ -1032,7 +1032,7 @@ keepwaiting:
// Delay job start until later...
else
- if (unlikely(icarus->deven == DEV_DISABLED || !icarus_job_start(thr)))
+ if (unlikely(icarus->deven != DEV_ENABLED || !icarus_job_start(thr)))
state->firstrun = true;
if (info->quirk_reopen == 2 && !icarus_reopen(icarus, state, &fd))