diff --git a/driver-avalon.c b/driver-avalon.c index 95251863..b731721b 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -730,6 +730,7 @@ static void *avalon_send_tasks(void *userdata) avalon_reset(avalon, fd); } } + avalon_rotate_array(avalon); pthread_cond_signal(&info->qcond); mutex_unlock(&info->qlock); @@ -738,7 +739,6 @@ static void *avalon_send_tasks(void *userdata) applog(LOG_WARNING, "AVA%i: Idled %d miners", avalon->device_id, idled); } - avalon_rotate_array(avalon); } return NULL; }