Browse Source

Reverse bools in bflsc_queue_full

nfactor-troky
Con Kolivas 12 years ago
parent
commit
f5e3448fb8
  1. 9
      driver-bflsc.c

9
driver-bflsc.c

@ -1444,15 +1444,16 @@ static bool bflsc_queue_full(struct cgpu_info *bflsc)
rd_unlock(&(sc_info->stat_lock)); rd_unlock(&(sc_info->stat_lock));
// nothing needs work yet // nothing needs work yet
if (dev == -1) if (dev == -1) {
ret = true;
break; break;
}
work = get_queued(bflsc); work = get_queued(bflsc);
if (work) { if (work) {
if (bflsc_send_work(bflsc, dev, work)) { if (bflsc_send_work(bflsc, dev, work))
ret = true;
break; break;
} else else
tried = dev; tried = dev;
} else } else
break; break;

Loading…
Cancel
Save