diff --git a/bun.lockb b/bun.lockb index 716c3bf..eddf29b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f3443f9..07d00c3 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "node": ">=20.11.0" }, "dependencies": { - "@commaai/qdl": "git+https://github.com/commaai/qdl.js.git#25bb324", + "@commaai/qdl": "git+https://github.com/commaai/qdl.js.git#5ff7c296c1ab3c5a0181097d830d2794cf84d238", "@fontsource-variable/inter": "^5.0.18", "@fontsource-variable/jetbrains-mono": "^5.0.21", "comlink": "^4.4.1", diff --git a/src/utils/qdl.js b/src/utils/qdl.js index 509bd4b..a0f0474 100644 --- a/src/utils/qdl.js +++ b/src/utils/qdl.js @@ -344,7 +344,9 @@ export class QdlManager { if (this.error !== Error.NONE) return await this.downloadImages() if (this.error !== Error.NONE) return + const start = performance.now() await this.flashDevice() + console.debug(`Flashing took ${((performance.now() - start) / 1000).toFixed(2)}s`) if (this.error !== Error.NONE) return await this.eraseDevice() }