diff --git a/src/devices/device.ts b/src/devices/device.ts index 734aa95..7c23205 100644 --- a/src/devices/device.ts +++ b/src/devices/device.ts @@ -168,6 +168,7 @@ export class Device extends EventEmitter { } public finish (message: number) { + if((message & 0x10) === 0x10) return; // "busy/full" this._busy = (message & 0x01) === 0x01; while(this._finishedCallbacks.length > Number(this._busy)) { const callback = this._finishedCallbacks.shift();