diff --git a/core/src/PTPDevice.ts b/core/src/PTPDevice.ts index e398a14..6df4c57 100644 --- a/core/src/PTPDevice.ts +++ b/core/src/PTPDevice.ts @@ -469,7 +469,7 @@ export class PTPDevice extends EventEmitter { this.#console.info( 'transferInBulk', - 'type=' + PTPBlockType[type] ?? type, + 'type=' + PTPBlockType[type], 'code=' + toHexString(code, 2), 'id=' + transactionId, 'payload=',