Fix wrong logic in isBusy
This commit is contained in:
parent
c2fb86f1d8
commit
62f79e31ae
@ -170,7 +170,7 @@ public abstract class AbstractIrpQueue<T extends UsbIrp>
|
||||
{
|
||||
synchronized (this.irps)
|
||||
{
|
||||
return this.irps.isEmpty() || this.processor != null;
|
||||
return !this.irps.isEmpty() || this.processor != null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user